Class AwsCredentialProvider.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AwsCredentialProvider.Builder>
io.envoyproxy.envoy.extensions.common.aws.v3.AwsCredentialProvider.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AwsCredentialProviderOrBuilder,Cloneable
- Enclosing class:
- AwsCredentialProvider
public static final class AwsCredentialProvider.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<AwsCredentialProvider.Builder>
implements AwsCredentialProviderOrBuilder
Configuration for AWS credential provider. This is optional and the credentials are normally retrieved from the environment or AWS configuration files by following the default credential provider chain. However, this configuration can be used to override the default behavior.Protobuf type
envoy.extensions.common.aws.v3.AwsCredentialProvider-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The option to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_.The option to specify parameters for credential retrieval from an envoy data source, such as a file in AWS credential format.Create a custom credential provider chain instead of the default credential provider chain.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The option to use an inline credential.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()The option to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_.The option to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_.The option to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_.The option to specify parameters for credential retrieval from an envoy data source, such as a file in AWS credential format.The option to specify parameters for credential retrieval from an envoy data source, such as a file in AWS credential format.The option to specify parameters for credential retrieval from an envoy data source, such as a file in AWS credential format.booleanCreate a custom credential provider chain instead of the default credential provider chain.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe option to use an inline credential.The option to use an inline credential.The option to use an inline credential.booleanThe option to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_.booleanThe option to specify parameters for credential retrieval from an envoy data source, such as a file in AWS credential format.booleanThe option to use an inline credential.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanThe option to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_.The option to specify parameters for credential retrieval from an envoy data source, such as a file in AWS credential format.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(AwsCredentialProvider other) The option to use an inline credential.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) The option to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_.setAssumeRoleWithWebIdentityProvider(AssumeRoleWithWebIdentityCredentialProvider.Builder builderForValue) The option to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_.The option to specify parameters for credential retrieval from an envoy data source, such as a file in AWS credential format.setCredentialsFileProvider(CredentialsFileCredentialProvider.Builder builderForValue) The option to specify parameters for credential retrieval from an envoy data source, such as a file in AWS credential format.setCustomCredentialProviderChain(boolean value) Create a custom credential provider chain instead of the default credential provider chain.The option to use an inline credential.setInlineCredential(InlineCredentialProvider.Builder builderForValue) The option to use an inline credential.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AwsCredentialProvider.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsCredentialProvider.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AwsCredentialProvider.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AwsCredentialProvider.Builder>
-
setField
public AwsCredentialProvider.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsCredentialProvider.Builder>
-
clearField
public AwsCredentialProvider.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsCredentialProvider.Builder>
-
clearOneof
public AwsCredentialProvider.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsCredentialProvider.Builder>
-
setRepeatedField
public AwsCredentialProvider.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsCredentialProvider.Builder>
-
addRepeatedField
public AwsCredentialProvider.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsCredentialProvider.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AwsCredentialProvider.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsCredentialProvider.Builder>
-
mergeFrom
public AwsCredentialProvider.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AwsCredentialProvider.Builder>- Throws:
IOException
-
hasAssumeRoleWithWebIdentityProvider
public boolean hasAssumeRoleWithWebIdentityProvider()The option to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_.
.envoy.extensions.common.aws.v3.AssumeRoleWithWebIdentityCredentialProvider assume_role_with_web_identity_provider = 1;- Specified by:
hasAssumeRoleWithWebIdentityProviderin interfaceAwsCredentialProviderOrBuilder- Returns:
- Whether the assumeRoleWithWebIdentityProvider field is set.
-
getAssumeRoleWithWebIdentityProvider
The option to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_.
.envoy.extensions.common.aws.v3.AssumeRoleWithWebIdentityCredentialProvider assume_role_with_web_identity_provider = 1;- Specified by:
getAssumeRoleWithWebIdentityProviderin interfaceAwsCredentialProviderOrBuilder- Returns:
- The assumeRoleWithWebIdentityProvider.
-
setAssumeRoleWithWebIdentityProvider
public AwsCredentialProvider.Builder setAssumeRoleWithWebIdentityProvider(AssumeRoleWithWebIdentityCredentialProvider value) The option to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_.
.envoy.extensions.common.aws.v3.AssumeRoleWithWebIdentityCredentialProvider assume_role_with_web_identity_provider = 1; -
setAssumeRoleWithWebIdentityProvider
public AwsCredentialProvider.Builder setAssumeRoleWithWebIdentityProvider(AssumeRoleWithWebIdentityCredentialProvider.Builder builderForValue) The option to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_.
.envoy.extensions.common.aws.v3.AssumeRoleWithWebIdentityCredentialProvider assume_role_with_web_identity_provider = 1; -
mergeAssumeRoleWithWebIdentityProvider
public AwsCredentialProvider.Builder mergeAssumeRoleWithWebIdentityProvider(AssumeRoleWithWebIdentityCredentialProvider value) The option to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_.
.envoy.extensions.common.aws.v3.AssumeRoleWithWebIdentityCredentialProvider assume_role_with_web_identity_provider = 1; -
clearAssumeRoleWithWebIdentityProvider
The option to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_.
.envoy.extensions.common.aws.v3.AssumeRoleWithWebIdentityCredentialProvider assume_role_with_web_identity_provider = 1; -
getAssumeRoleWithWebIdentityProviderBuilder
public AssumeRoleWithWebIdentityCredentialProvider.Builder getAssumeRoleWithWebIdentityProviderBuilder()The option to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_.
.envoy.extensions.common.aws.v3.AssumeRoleWithWebIdentityCredentialProvider assume_role_with_web_identity_provider = 1; -
getAssumeRoleWithWebIdentityProviderOrBuilder
public AssumeRoleWithWebIdentityCredentialProviderOrBuilder getAssumeRoleWithWebIdentityProviderOrBuilder()The option to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_.
.envoy.extensions.common.aws.v3.AssumeRoleWithWebIdentityCredentialProvider assume_role_with_web_identity_provider = 1;- Specified by:
getAssumeRoleWithWebIdentityProviderOrBuilderin interfaceAwsCredentialProviderOrBuilder
-
hasInlineCredential
public boolean hasInlineCredential()The option to use an inline credential. If inline credential is provided, no chain will be created and only the inline credential will be used.
.envoy.extensions.common.aws.v3.InlineCredentialProvider inline_credential = 2;- Specified by:
hasInlineCredentialin interfaceAwsCredentialProviderOrBuilder- Returns:
- Whether the inlineCredential field is set.
-
getInlineCredential
The option to use an inline credential. If inline credential is provided, no chain will be created and only the inline credential will be used.
.envoy.extensions.common.aws.v3.InlineCredentialProvider inline_credential = 2;- Specified by:
getInlineCredentialin interfaceAwsCredentialProviderOrBuilder- Returns:
- The inlineCredential.
-
setInlineCredential
The option to use an inline credential. If inline credential is provided, no chain will be created and only the inline credential will be used.
.envoy.extensions.common.aws.v3.InlineCredentialProvider inline_credential = 2; -
setInlineCredential
public AwsCredentialProvider.Builder setInlineCredential(InlineCredentialProvider.Builder builderForValue) The option to use an inline credential. If inline credential is provided, no chain will be created and only the inline credential will be used.
.envoy.extensions.common.aws.v3.InlineCredentialProvider inline_credential = 2; -
mergeInlineCredential
The option to use an inline credential. If inline credential is provided, no chain will be created and only the inline credential will be used.
.envoy.extensions.common.aws.v3.InlineCredentialProvider inline_credential = 2; -
clearInlineCredential
The option to use an inline credential. If inline credential is provided, no chain will be created and only the inline credential will be used.
.envoy.extensions.common.aws.v3.InlineCredentialProvider inline_credential = 2; -
getInlineCredentialBuilder
The option to use an inline credential. If inline credential is provided, no chain will be created and only the inline credential will be used.
.envoy.extensions.common.aws.v3.InlineCredentialProvider inline_credential = 2; -
getInlineCredentialOrBuilder
The option to use an inline credential. If inline credential is provided, no chain will be created and only the inline credential will be used.
.envoy.extensions.common.aws.v3.InlineCredentialProvider inline_credential = 2;- Specified by:
getInlineCredentialOrBuilderin interfaceAwsCredentialProviderOrBuilder
-
hasCredentialsFileProvider
public boolean hasCredentialsFileProvider()The option to specify parameters for credential retrieval from an envoy data source, such as a file in AWS credential format.
.envoy.extensions.common.aws.v3.CredentialsFileCredentialProvider credentials_file_provider = 3;- Specified by:
hasCredentialsFileProviderin interfaceAwsCredentialProviderOrBuilder- Returns:
- Whether the credentialsFileProvider field is set.
-
getCredentialsFileProvider
The option to specify parameters for credential retrieval from an envoy data source, such as a file in AWS credential format.
.envoy.extensions.common.aws.v3.CredentialsFileCredentialProvider credentials_file_provider = 3;- Specified by:
getCredentialsFileProviderin interfaceAwsCredentialProviderOrBuilder- Returns:
- The credentialsFileProvider.
-
setCredentialsFileProvider
public AwsCredentialProvider.Builder setCredentialsFileProvider(CredentialsFileCredentialProvider value) The option to specify parameters for credential retrieval from an envoy data source, such as a file in AWS credential format.
.envoy.extensions.common.aws.v3.CredentialsFileCredentialProvider credentials_file_provider = 3; -
setCredentialsFileProvider
public AwsCredentialProvider.Builder setCredentialsFileProvider(CredentialsFileCredentialProvider.Builder builderForValue) The option to specify parameters for credential retrieval from an envoy data source, such as a file in AWS credential format.
.envoy.extensions.common.aws.v3.CredentialsFileCredentialProvider credentials_file_provider = 3; -
mergeCredentialsFileProvider
public AwsCredentialProvider.Builder mergeCredentialsFileProvider(CredentialsFileCredentialProvider value) The option to specify parameters for credential retrieval from an envoy data source, such as a file in AWS credential format.
.envoy.extensions.common.aws.v3.CredentialsFileCredentialProvider credentials_file_provider = 3; -
clearCredentialsFileProvider
The option to specify parameters for credential retrieval from an envoy data source, such as a file in AWS credential format.
.envoy.extensions.common.aws.v3.CredentialsFileCredentialProvider credentials_file_provider = 3; -
getCredentialsFileProviderBuilder
The option to specify parameters for credential retrieval from an envoy data source, such as a file in AWS credential format.
.envoy.extensions.common.aws.v3.CredentialsFileCredentialProvider credentials_file_provider = 3; -
getCredentialsFileProviderOrBuilder
The option to specify parameters for credential retrieval from an envoy data source, such as a file in AWS credential format.
.envoy.extensions.common.aws.v3.CredentialsFileCredentialProvider credentials_file_provider = 3;- Specified by:
getCredentialsFileProviderOrBuilderin interfaceAwsCredentialProviderOrBuilder
-
getCustomCredentialProviderChain
public boolean getCustomCredentialProviderChain()Create a custom credential provider chain instead of the default credential provider chain. If set to TRUE, the credential provider chain that is created contains only those set in this credential provider message. If set to FALSE, the settings provided here will act as modifiers to the default credential provider chain. Defaults to FALSE. This has no effect if inline_credential is provided.
bool custom_credential_provider_chain = 4;- Specified by:
getCustomCredentialProviderChainin interfaceAwsCredentialProviderOrBuilder- Returns:
- The customCredentialProviderChain.
-
setCustomCredentialProviderChain
Create a custom credential provider chain instead of the default credential provider chain. If set to TRUE, the credential provider chain that is created contains only those set in this credential provider message. If set to FALSE, the settings provided here will act as modifiers to the default credential provider chain. Defaults to FALSE. This has no effect if inline_credential is provided.
bool custom_credential_provider_chain = 4;- Parameters:
value- The customCredentialProviderChain to set.- Returns:
- This builder for chaining.
-
clearCustomCredentialProviderChain
Create a custom credential provider chain instead of the default credential provider chain. If set to TRUE, the credential provider chain that is created contains only those set in this credential provider message. If set to FALSE, the settings provided here will act as modifiers to the default credential provider chain. Defaults to FALSE. This has no effect if inline_credential is provided.
bool custom_credential_provider_chain = 4;- Returns:
- This builder for chaining.
-
setUnknownFields
public final AwsCredentialProvider.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsCredentialProvider.Builder>
-
mergeUnknownFields
public final AwsCredentialProvider.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsCredentialProvider.Builder>
-