Class AssumeRoleWithWebIdentityCredentialProvider.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AssumeRoleWithWebIdentityCredentialProvider.Builder>
io.envoyproxy.envoy.extensions.common.aws.v3.AssumeRoleWithWebIdentityCredentialProvider.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AssumeRoleWithWebIdentityCredentialProviderOrBuilder,Cloneable
- Enclosing class:
- AssumeRoleWithWebIdentityCredentialProvider
public static final class AssumeRoleWithWebIdentityCredentialProvider.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<AssumeRoleWithWebIdentityCredentialProvider.Builder>
implements AssumeRoleWithWebIdentityCredentialProviderOrBuilder
Configuration to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_ to retrieve AWS credentials.Protobuf type
envoy.extensions.common.aws.v3.AssumeRoleWithWebIdentityCredentialProvider-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The ARN of the role to assume.Optional role session name to use in AssumeRoleWithWebIdentity API call.Data source for a web identity token that is provided by the identity provider to assume the role.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe ARN of the role to assume.com.google.protobuf.ByteStringThe ARN of the role to assume.Optional role session name to use in AssumeRoleWithWebIdentity API call.com.google.protobuf.ByteStringOptional role session name to use in AssumeRoleWithWebIdentity API call.Data source for a web identity token that is provided by the identity provider to assume the role.Data source for a web identity token that is provided by the identity provider to assume the role.Data source for a web identity token that is provided by the identity provider to assume the role.booleanData source for a web identity token that is provided by the identity provider to assume the role.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Data source for a web identity token that is provided by the identity provider to assume the role.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRoleArn(String value) The ARN of the role to assume.setRoleArnBytes(com.google.protobuf.ByteString value) The ARN of the role to assume.setRoleSessionName(String value) Optional role session name to use in AssumeRoleWithWebIdentity API call.setRoleSessionNameBytes(com.google.protobuf.ByteString value) Optional role session name to use in AssumeRoleWithWebIdentity API call.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Data source for a web identity token that is provided by the identity provider to assume the role.setWebIdentityTokenDataSource(DataSource.Builder builderForValue) Data source for a web identity token that is provided by the identity provider to assume the role.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<AssumeRoleWithWebIdentityCredentialProvider.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<AssumeRoleWithWebIdentityCredentialProvider.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<AssumeRoleWithWebIdentityCredentialProvider.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<AssumeRoleWithWebIdentityCredentialProvider.Builder>
-
setField
public AssumeRoleWithWebIdentityCredentialProvider.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<AssumeRoleWithWebIdentityCredentialProvider.Builder>
-
clearField
public AssumeRoleWithWebIdentityCredentialProvider.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AssumeRoleWithWebIdentityCredentialProvider.Builder>
-
clearOneof
public AssumeRoleWithWebIdentityCredentialProvider.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AssumeRoleWithWebIdentityCredentialProvider.Builder>
-
setRepeatedField
public AssumeRoleWithWebIdentityCredentialProvider.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<AssumeRoleWithWebIdentityCredentialProvider.Builder>
-
addRepeatedField
public AssumeRoleWithWebIdentityCredentialProvider.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<AssumeRoleWithWebIdentityCredentialProvider.Builder>
-
mergeFrom
public AssumeRoleWithWebIdentityCredentialProvider.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AssumeRoleWithWebIdentityCredentialProvider.Builder>
-
mergeFrom
public AssumeRoleWithWebIdentityCredentialProvider.Builder mergeFrom(AssumeRoleWithWebIdentityCredentialProvider other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AssumeRoleWithWebIdentityCredentialProvider.Builder>
-
mergeFrom
public AssumeRoleWithWebIdentityCredentialProvider.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<AssumeRoleWithWebIdentityCredentialProvider.Builder>- Throws:
IOException
-
hasWebIdentityTokenDataSource
public boolean hasWebIdentityTokenDataSource()Data source for a web identity token that is provided by the identity provider to assume the role. If a ``watched_directory`` is not provided, one will be automatically inferred from the directory of the token file. This is to ensure that if the token file is rotated, the new token will be picked up. This behaviour differs from the standard envoy data source behavior, which does not automatically watch the directory of a file data source. Even when file rotation occurs, current credentials will continue to be used until they expire, at which point new credentials will be retrieved using the new token.
.envoy.config.core.v3.DataSource web_identity_token_data_source = 1 [(.udpa.annotations.sensitive) = true];- Specified by:
hasWebIdentityTokenDataSourcein interfaceAssumeRoleWithWebIdentityCredentialProviderOrBuilder- Returns:
- Whether the webIdentityTokenDataSource field is set.
-
getWebIdentityTokenDataSource
Data source for a web identity token that is provided by the identity provider to assume the role. If a ``watched_directory`` is not provided, one will be automatically inferred from the directory of the token file. This is to ensure that if the token file is rotated, the new token will be picked up. This behaviour differs from the standard envoy data source behavior, which does not automatically watch the directory of a file data source. Even when file rotation occurs, current credentials will continue to be used until they expire, at which point new credentials will be retrieved using the new token.
.envoy.config.core.v3.DataSource web_identity_token_data_source = 1 [(.udpa.annotations.sensitive) = true];- Specified by:
getWebIdentityTokenDataSourcein interfaceAssumeRoleWithWebIdentityCredentialProviderOrBuilder- Returns:
- The webIdentityTokenDataSource.
-
setWebIdentityTokenDataSource
public AssumeRoleWithWebIdentityCredentialProvider.Builder setWebIdentityTokenDataSource(DataSource value) Data source for a web identity token that is provided by the identity provider to assume the role. If a ``watched_directory`` is not provided, one will be automatically inferred from the directory of the token file. This is to ensure that if the token file is rotated, the new token will be picked up. This behaviour differs from the standard envoy data source behavior, which does not automatically watch the directory of a file data source. Even when file rotation occurs, current credentials will continue to be used until they expire, at which point new credentials will be retrieved using the new token.
.envoy.config.core.v3.DataSource web_identity_token_data_source = 1 [(.udpa.annotations.sensitive) = true]; -
setWebIdentityTokenDataSource
public AssumeRoleWithWebIdentityCredentialProvider.Builder setWebIdentityTokenDataSource(DataSource.Builder builderForValue) Data source for a web identity token that is provided by the identity provider to assume the role. If a ``watched_directory`` is not provided, one will be automatically inferred from the directory of the token file. This is to ensure that if the token file is rotated, the new token will be picked up. This behaviour differs from the standard envoy data source behavior, which does not automatically watch the directory of a file data source. Even when file rotation occurs, current credentials will continue to be used until they expire, at which point new credentials will be retrieved using the new token.
.envoy.config.core.v3.DataSource web_identity_token_data_source = 1 [(.udpa.annotations.sensitive) = true]; -
mergeWebIdentityTokenDataSource
public AssumeRoleWithWebIdentityCredentialProvider.Builder mergeWebIdentityTokenDataSource(DataSource value) Data source for a web identity token that is provided by the identity provider to assume the role. If a ``watched_directory`` is not provided, one will be automatically inferred from the directory of the token file. This is to ensure that if the token file is rotated, the new token will be picked up. This behaviour differs from the standard envoy data source behavior, which does not automatically watch the directory of a file data source. Even when file rotation occurs, current credentials will continue to be used until they expire, at which point new credentials will be retrieved using the new token.
.envoy.config.core.v3.DataSource web_identity_token_data_source = 1 [(.udpa.annotations.sensitive) = true]; -
clearWebIdentityTokenDataSource
Data source for a web identity token that is provided by the identity provider to assume the role. If a ``watched_directory`` is not provided, one will be automatically inferred from the directory of the token file. This is to ensure that if the token file is rotated, the new token will be picked up. This behaviour differs from the standard envoy data source behavior, which does not automatically watch the directory of a file data source. Even when file rotation occurs, current credentials will continue to be used until they expire, at which point new credentials will be retrieved using the new token.
.envoy.config.core.v3.DataSource web_identity_token_data_source = 1 [(.udpa.annotations.sensitive) = true]; -
getWebIdentityTokenDataSourceBuilder
Data source for a web identity token that is provided by the identity provider to assume the role. If a ``watched_directory`` is not provided, one will be automatically inferred from the directory of the token file. This is to ensure that if the token file is rotated, the new token will be picked up. This behaviour differs from the standard envoy data source behavior, which does not automatically watch the directory of a file data source. Even when file rotation occurs, current credentials will continue to be used until they expire, at which point new credentials will be retrieved using the new token.
.envoy.config.core.v3.DataSource web_identity_token_data_source = 1 [(.udpa.annotations.sensitive) = true]; -
getWebIdentityTokenDataSourceOrBuilder
Data source for a web identity token that is provided by the identity provider to assume the role. If a ``watched_directory`` is not provided, one will be automatically inferred from the directory of the token file. This is to ensure that if the token file is rotated, the new token will be picked up. This behaviour differs from the standard envoy data source behavior, which does not automatically watch the directory of a file data source. Even when file rotation occurs, current credentials will continue to be used until they expire, at which point new credentials will be retrieved using the new token.
.envoy.config.core.v3.DataSource web_identity_token_data_source = 1 [(.udpa.annotations.sensitive) = true];- Specified by:
getWebIdentityTokenDataSourceOrBuilderin interfaceAssumeRoleWithWebIdentityCredentialProviderOrBuilder
-
getRoleArn
The ARN of the role to assume.
string role_arn = 2 [(.validate.rules) = { ... }- Specified by:
getRoleArnin interfaceAssumeRoleWithWebIdentityCredentialProviderOrBuilder- Returns:
- The roleArn.
-
getRoleArnBytes
public com.google.protobuf.ByteString getRoleArnBytes()The ARN of the role to assume.
string role_arn = 2 [(.validate.rules) = { ... }- Specified by:
getRoleArnBytesin interfaceAssumeRoleWithWebIdentityCredentialProviderOrBuilder- Returns:
- The bytes for roleArn.
-
setRoleArn
The ARN of the role to assume.
string role_arn = 2 [(.validate.rules) = { ... }- Parameters:
value- The roleArn to set.- Returns:
- This builder for chaining.
-
clearRoleArn
The ARN of the role to assume.
string role_arn = 2 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setRoleArnBytes
public AssumeRoleWithWebIdentityCredentialProvider.Builder setRoleArnBytes(com.google.protobuf.ByteString value) The ARN of the role to assume.
string role_arn = 2 [(.validate.rules) = { ... }- Parameters:
value- The bytes for roleArn to set.- Returns:
- This builder for chaining.
-
getRoleSessionName
Optional role session name to use in AssumeRoleWithWebIdentity API call.
string role_session_name = 3;- Specified by:
getRoleSessionNamein interfaceAssumeRoleWithWebIdentityCredentialProviderOrBuilder- Returns:
- The roleSessionName.
-
getRoleSessionNameBytes
public com.google.protobuf.ByteString getRoleSessionNameBytes()Optional role session name to use in AssumeRoleWithWebIdentity API call.
string role_session_name = 3;- Specified by:
getRoleSessionNameBytesin interfaceAssumeRoleWithWebIdentityCredentialProviderOrBuilder- Returns:
- The bytes for roleSessionName.
-
setRoleSessionName
Optional role session name to use in AssumeRoleWithWebIdentity API call.
string role_session_name = 3;- Parameters:
value- The roleSessionName to set.- Returns:
- This builder for chaining.
-
clearRoleSessionName
Optional role session name to use in AssumeRoleWithWebIdentity API call.
string role_session_name = 3;- Returns:
- This builder for chaining.
-
setRoleSessionNameBytes
public AssumeRoleWithWebIdentityCredentialProvider.Builder setRoleSessionNameBytes(com.google.protobuf.ByteString value) Optional role session name to use in AssumeRoleWithWebIdentity API call.
string role_session_name = 3;- Parameters:
value- The bytes for roleSessionName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AssumeRoleWithWebIdentityCredentialProvider.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AssumeRoleWithWebIdentityCredentialProvider.Builder>
-
mergeUnknownFields
public final AssumeRoleWithWebIdentityCredentialProvider.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AssumeRoleWithWebIdentityCredentialProvider.Builder>
-