Class AssumeRoleCredentialProvider.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AssumeRoleCredentialProvider.Builder>
io.envoyproxy.envoy.extensions.common.aws.v3.AssumeRoleCredentialProvider.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AssumeRoleCredentialProviderOrBuilder,Cloneable
- Enclosing class:
- AssumeRoleCredentialProvider
public static final class AssumeRoleCredentialProvider.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<AssumeRoleCredentialProvider.Builder>
implements AssumeRoleCredentialProviderOrBuilder
Configuration to use `AssumeRole <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html>`_ for retrieving new credentials, via role chaining. [#next-free-field: 6]Protobuf type
envoy.extensions.common.aws.v3.AssumeRoleCredentialProvider-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The credential provider for signing the AssumeRole request.Optional string value to use as the externalIdclearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The ARN of the role to assume.An optional role session name, used when identifying the role in subsequent AWS API calls.An optional duration, in seconds, of the role session.clone()The credential provider for signing the AssumeRole request.The credential provider for signing the AssumeRole request.The credential provider for signing the AssumeRole request.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional string value to use as the externalIdcom.google.protobuf.ByteStringOptional string value to use as the externalIdThe ARN of the role to assume.com.google.protobuf.ByteStringThe ARN of the role to assume.An optional role session name, used when identifying the role in subsequent AWS API calls.com.google.protobuf.ByteStringAn optional role session name, used when identifying the role in subsequent AWS API calls.com.google.protobuf.DurationAn optional duration, in seconds, of the role session.com.google.protobuf.Duration.BuilderAn optional duration, in seconds, of the role session.com.google.protobuf.DurationOrBuilderAn optional duration, in seconds, of the role session.booleanThe credential provider for signing the AssumeRole request.booleanAn optional duration, in seconds, of the role session.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanThe credential provider for signing the AssumeRole request.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeSessionDuration(com.google.protobuf.Duration value) An optional duration, in seconds, of the role session.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) The credential provider for signing the AssumeRole request.setCredentialProvider(AwsCredentialProvider.Builder builderForValue) The credential provider for signing the AssumeRole request.setExternalId(String value) Optional string value to use as the externalIdsetExternalIdBytes(com.google.protobuf.ByteString value) Optional string value to use as the externalIdsetRepeatedField(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) An optional role session name, used when identifying the role in subsequent AWS API calls.setRoleSessionNameBytes(com.google.protobuf.ByteString value) An optional role session name, used when identifying the role in subsequent AWS API calls.setSessionDuration(com.google.protobuf.Duration value) An optional duration, in seconds, of the role session.setSessionDuration(com.google.protobuf.Duration.Builder builderForValue) An optional duration, in seconds, of the role session.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<AssumeRoleCredentialProvider.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<AssumeRoleCredentialProvider.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<AssumeRoleCredentialProvider.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<AssumeRoleCredentialProvider.Builder>
-
setField
public AssumeRoleCredentialProvider.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<AssumeRoleCredentialProvider.Builder>
-
clearField
public AssumeRoleCredentialProvider.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AssumeRoleCredentialProvider.Builder>
-
clearOneof
public AssumeRoleCredentialProvider.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AssumeRoleCredentialProvider.Builder>
-
setRepeatedField
public AssumeRoleCredentialProvider.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<AssumeRoleCredentialProvider.Builder>
-
addRepeatedField
public AssumeRoleCredentialProvider.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<AssumeRoleCredentialProvider.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AssumeRoleCredentialProvider.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AssumeRoleCredentialProvider.Builder>
-
mergeFrom
public AssumeRoleCredentialProvider.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<AssumeRoleCredentialProvider.Builder>- Throws:
IOException
-
getRoleArn
The ARN of the role to assume.
string role_arn = 1 [(.validate.rules) = { ... }- Specified by:
getRoleArnin interfaceAssumeRoleCredentialProviderOrBuilder- Returns:
- The roleArn.
-
getRoleArnBytes
public com.google.protobuf.ByteString getRoleArnBytes()The ARN of the role to assume.
string role_arn = 1 [(.validate.rules) = { ... }- Specified by:
getRoleArnBytesin interfaceAssumeRoleCredentialProviderOrBuilder- Returns:
- The bytes for roleArn.
-
setRoleArn
The ARN of the role to assume.
string role_arn = 1 [(.validate.rules) = { ... }- Parameters:
value- The roleArn to set.- Returns:
- This builder for chaining.
-
clearRoleArn
The ARN of the role to assume.
string role_arn = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setRoleArnBytes
The ARN of the role to assume.
string role_arn = 1 [(.validate.rules) = { ... }- Parameters:
value- The bytes for roleArn to set.- Returns:
- This builder for chaining.
-
getRoleSessionName
An optional role session name, used when identifying the role in subsequent AWS API calls. If not provided, the role session name will default to the current timestamp.
string role_session_name = 2;- Specified by:
getRoleSessionNamein interfaceAssumeRoleCredentialProviderOrBuilder- Returns:
- The roleSessionName.
-
getRoleSessionNameBytes
public com.google.protobuf.ByteString getRoleSessionNameBytes()An optional role session name, used when identifying the role in subsequent AWS API calls. If not provided, the role session name will default to the current timestamp.
string role_session_name = 2;- Specified by:
getRoleSessionNameBytesin interfaceAssumeRoleCredentialProviderOrBuilder- Returns:
- The bytes for roleSessionName.
-
setRoleSessionName
An optional role session name, used when identifying the role in subsequent AWS API calls. If not provided, the role session name will default to the current timestamp.
string role_session_name = 2;- Parameters:
value- The roleSessionName to set.- Returns:
- This builder for chaining.
-
clearRoleSessionName
An optional role session name, used when identifying the role in subsequent AWS API calls. If not provided, the role session name will default to the current timestamp.
string role_session_name = 2;- Returns:
- This builder for chaining.
-
setRoleSessionNameBytes
public AssumeRoleCredentialProvider.Builder setRoleSessionNameBytes(com.google.protobuf.ByteString value) An optional role session name, used when identifying the role in subsequent AWS API calls. If not provided, the role session name will default to the current timestamp.
string role_session_name = 2;- Parameters:
value- The bytes for roleSessionName to set.- Returns:
- This builder for chaining.
-
getExternalId
Optional string value to use as the externalId
string external_id = 3;- Specified by:
getExternalIdin interfaceAssumeRoleCredentialProviderOrBuilder- Returns:
- The externalId.
-
getExternalIdBytes
public com.google.protobuf.ByteString getExternalIdBytes()Optional string value to use as the externalId
string external_id = 3;- Specified by:
getExternalIdBytesin interfaceAssumeRoleCredentialProviderOrBuilder- Returns:
- The bytes for externalId.
-
setExternalId
Optional string value to use as the externalId
string external_id = 3;- Parameters:
value- The externalId to set.- Returns:
- This builder for chaining.
-
clearExternalId
Optional string value to use as the externalId
string external_id = 3;- Returns:
- This builder for chaining.
-
setExternalIdBytes
public AssumeRoleCredentialProvider.Builder setExternalIdBytes(com.google.protobuf.ByteString value) Optional string value to use as the externalId
string external_id = 3;- Parameters:
value- The bytes for externalId to set.- Returns:
- This builder for chaining.
-
hasSessionDuration
public boolean hasSessionDuration()An optional duration, in seconds, of the role session. Minimum role duration is 900s (5 minutes) and maximum is 43200s (12 hours). If the session duration is not provided, the default will be determined using the `table described here <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_manage-assume.html>`_.
.google.protobuf.Duration session_duration = 4 [(.validate.rules) = { ... }- Specified by:
hasSessionDurationin interfaceAssumeRoleCredentialProviderOrBuilder- Returns:
- Whether the sessionDuration field is set.
-
getSessionDuration
public com.google.protobuf.Duration getSessionDuration()An optional duration, in seconds, of the role session. Minimum role duration is 900s (5 minutes) and maximum is 43200s (12 hours). If the session duration is not provided, the default will be determined using the `table described here <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_manage-assume.html>`_.
.google.protobuf.Duration session_duration = 4 [(.validate.rules) = { ... }- Specified by:
getSessionDurationin interfaceAssumeRoleCredentialProviderOrBuilder- Returns:
- The sessionDuration.
-
setSessionDuration
An optional duration, in seconds, of the role session. Minimum role duration is 900s (5 minutes) and maximum is 43200s (12 hours). If the session duration is not provided, the default will be determined using the `table described here <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_manage-assume.html>`_.
.google.protobuf.Duration session_duration = 4 [(.validate.rules) = { ... } -
setSessionDuration
public AssumeRoleCredentialProvider.Builder setSessionDuration(com.google.protobuf.Duration.Builder builderForValue) An optional duration, in seconds, of the role session. Minimum role duration is 900s (5 minutes) and maximum is 43200s (12 hours). If the session duration is not provided, the default will be determined using the `table described here <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_manage-assume.html>`_.
.google.protobuf.Duration session_duration = 4 [(.validate.rules) = { ... } -
mergeSessionDuration
public AssumeRoleCredentialProvider.Builder mergeSessionDuration(com.google.protobuf.Duration value) An optional duration, in seconds, of the role session. Minimum role duration is 900s (5 minutes) and maximum is 43200s (12 hours). If the session duration is not provided, the default will be determined using the `table described here <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_manage-assume.html>`_.
.google.protobuf.Duration session_duration = 4 [(.validate.rules) = { ... } -
clearSessionDuration
An optional duration, in seconds, of the role session. Minimum role duration is 900s (5 minutes) and maximum is 43200s (12 hours). If the session duration is not provided, the default will be determined using the `table described here <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_manage-assume.html>`_.
.google.protobuf.Duration session_duration = 4 [(.validate.rules) = { ... } -
getSessionDurationBuilder
public com.google.protobuf.Duration.Builder getSessionDurationBuilder()An optional duration, in seconds, of the role session. Minimum role duration is 900s (5 minutes) and maximum is 43200s (12 hours). If the session duration is not provided, the default will be determined using the `table described here <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_manage-assume.html>`_.
.google.protobuf.Duration session_duration = 4 [(.validate.rules) = { ... } -
getSessionDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getSessionDurationOrBuilder()An optional duration, in seconds, of the role session. Minimum role duration is 900s (5 minutes) and maximum is 43200s (12 hours). If the session duration is not provided, the default will be determined using the `table described here <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_manage-assume.html>`_.
.google.protobuf.Duration session_duration = 4 [(.validate.rules) = { ... }- Specified by:
getSessionDurationOrBuilderin interfaceAssumeRoleCredentialProviderOrBuilder
-
hasCredentialProvider
public boolean hasCredentialProvider()The credential provider for signing the AssumeRole request. This is optional and if not set, it will be retrieved from the procedure described in :ref:`config_http_filters_aws_request_signing`. This list of credential providers cannot include an AssumeRole credential provider and if one is provided it will be ignored.
.envoy.extensions.common.aws.v3.AwsCredentialProvider credential_provider = 5;- Specified by:
hasCredentialProviderin interfaceAssumeRoleCredentialProviderOrBuilder- Returns:
- Whether the credentialProvider field is set.
-
getCredentialProvider
The credential provider for signing the AssumeRole request. This is optional and if not set, it will be retrieved from the procedure described in :ref:`config_http_filters_aws_request_signing`. This list of credential providers cannot include an AssumeRole credential provider and if one is provided it will be ignored.
.envoy.extensions.common.aws.v3.AwsCredentialProvider credential_provider = 5;- Specified by:
getCredentialProviderin interfaceAssumeRoleCredentialProviderOrBuilder- Returns:
- The credentialProvider.
-
setCredentialProvider
The credential provider for signing the AssumeRole request. This is optional and if not set, it will be retrieved from the procedure described in :ref:`config_http_filters_aws_request_signing`. This list of credential providers cannot include an AssumeRole credential provider and if one is provided it will be ignored.
.envoy.extensions.common.aws.v3.AwsCredentialProvider credential_provider = 5; -
setCredentialProvider
public AssumeRoleCredentialProvider.Builder setCredentialProvider(AwsCredentialProvider.Builder builderForValue) The credential provider for signing the AssumeRole request. This is optional and if not set, it will be retrieved from the procedure described in :ref:`config_http_filters_aws_request_signing`. This list of credential providers cannot include an AssumeRole credential provider and if one is provided it will be ignored.
.envoy.extensions.common.aws.v3.AwsCredentialProvider credential_provider = 5; -
mergeCredentialProvider
The credential provider for signing the AssumeRole request. This is optional and if not set, it will be retrieved from the procedure described in :ref:`config_http_filters_aws_request_signing`. This list of credential providers cannot include an AssumeRole credential provider and if one is provided it will be ignored.
.envoy.extensions.common.aws.v3.AwsCredentialProvider credential_provider = 5; -
clearCredentialProvider
The credential provider for signing the AssumeRole request. This is optional and if not set, it will be retrieved from the procedure described in :ref:`config_http_filters_aws_request_signing`. This list of credential providers cannot include an AssumeRole credential provider and if one is provided it will be ignored.
.envoy.extensions.common.aws.v3.AwsCredentialProvider credential_provider = 5; -
getCredentialProviderBuilder
The credential provider for signing the AssumeRole request. This is optional and if not set, it will be retrieved from the procedure described in :ref:`config_http_filters_aws_request_signing`. This list of credential providers cannot include an AssumeRole credential provider and if one is provided it will be ignored.
.envoy.extensions.common.aws.v3.AwsCredentialProvider credential_provider = 5; -
getCredentialProviderOrBuilder
The credential provider for signing the AssumeRole request. This is optional and if not set, it will be retrieved from the procedure described in :ref:`config_http_filters_aws_request_signing`. This list of credential providers cannot include an AssumeRole credential provider and if one is provided it will be ignored.
.envoy.extensions.common.aws.v3.AwsCredentialProvider credential_provider = 5;- Specified by:
getCredentialProviderOrBuilderin interfaceAssumeRoleCredentialProviderOrBuilder
-
setUnknownFields
public final AssumeRoleCredentialProvider.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AssumeRoleCredentialProvider.Builder>
-
mergeUnknownFields
public final AssumeRoleCredentialProvider.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AssumeRoleCredentialProvider.Builder>
-