Class IAMRolesAnywhereCredentialProvider.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<IAMRolesAnywhereCredentialProvider.Builder>
io.envoyproxy.envoy.extensions.common.aws.v3.IAMRolesAnywhereCredentialProvider.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,IAMRolesAnywhereCredentialProviderOrBuilder,Cloneable
- Enclosing class:
- IAMRolesAnywhereCredentialProvider
public static final class IAMRolesAnywhereCredentialProvider.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<IAMRolesAnywhereCredentialProvider.Builder>
implements IAMRolesAnywhereCredentialProviderOrBuilder
Configuration to use `IAM Roles Anywhere <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/introduction.html>`_ to retrieve AWS credentials. [#next-free-field: 9]Protobuf type
envoy.extensions.common.aws.v3.IAMRolesAnywhereCredentialProvider-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The certificate used for authenticating to the IAM Roles Anywhere service.The optional certificate chain, required when you are using a subordinate certificate authority for certificate issuance.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The TLS private key matching the certificate provided.The IAM Roles Anywhere profile ARN configured in your AWS account.The ARN of the role to assume via the IAM Roles Anywhere sessions API.An optional role session name, used when identifying the role in subsequent AWS API calls.An optional session duration, used when calculating the maximum time before vended credentials expire.The arn of the IAM Roles Anywhere trust anchor configured in your AWS account.clone()The certificate used for authenticating to the IAM Roles Anywhere service.The certificate used for authenticating to the IAM Roles Anywhere service.The optional certificate chain, required when you are using a subordinate certificate authority for certificate issuance.The optional certificate chain, required when you are using a subordinate certificate authority for certificate issuance.The optional certificate chain, required when you are using a subordinate certificate authority for certificate issuance.The certificate used for authenticating to the IAM Roles Anywhere service.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe TLS private key matching the certificate provided.The TLS private key matching the certificate provided.The TLS private key matching the certificate provided.The IAM Roles Anywhere profile ARN configured in your AWS account.com.google.protobuf.ByteStringThe IAM Roles Anywhere profile ARN configured in your AWS account.The ARN of the role to assume via the IAM Roles Anywhere sessions API.com.google.protobuf.ByteStringThe ARN of the role to assume via the IAM Roles Anywhere sessions API.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 session duration, used when calculating the maximum time before vended credentials expire.com.google.protobuf.Duration.BuilderAn optional session duration, used when calculating the maximum time before vended credentials expire.com.google.protobuf.DurationOrBuilderAn optional session duration, used when calculating the maximum time before vended credentials expire.The arn of the IAM Roles Anywhere trust anchor configured in your AWS account.com.google.protobuf.ByteStringThe arn of the IAM Roles Anywhere trust anchor configured in your AWS account.booleanThe certificate used for authenticating to the IAM Roles Anywhere service.booleanThe optional certificate chain, required when you are using a subordinate certificate authority for certificate issuance.booleanThe TLS private key matching the certificate provided.booleanAn optional session duration, used when calculating the maximum time before vended credentials expire.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCertificate(DataSource value) The certificate used for authenticating to the IAM Roles Anywhere service.mergeCertificateChain(DataSource value) The optional certificate chain, required when you are using a subordinate certificate authority for certificate issuance.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergePrivateKey(DataSource value) The TLS private key matching the certificate provided.mergeSessionDuration(com.google.protobuf.Duration value) An optional session duration, used when calculating the maximum time before vended credentials expire.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setCertificate(DataSource value) The certificate used for authenticating to the IAM Roles Anywhere service.setCertificate(DataSource.Builder builderForValue) The certificate used for authenticating to the IAM Roles Anywhere service.setCertificateChain(DataSource value) The optional certificate chain, required when you are using a subordinate certificate authority for certificate issuance.setCertificateChain(DataSource.Builder builderForValue) The optional certificate chain, required when you are using a subordinate certificate authority for certificate issuance.setPrivateKey(DataSource value) The TLS private key matching the certificate provided.setPrivateKey(DataSource.Builder builderForValue) The TLS private key matching the certificate provided.setProfileArn(String value) The IAM Roles Anywhere profile ARN configured in your AWS account.setProfileArnBytes(com.google.protobuf.ByteString value) The IAM Roles Anywhere profile ARN configured in your AWS account.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRoleArn(String value) The ARN of the role to assume via the IAM Roles Anywhere sessions API.setRoleArnBytes(com.google.protobuf.ByteString value) The ARN of the role to assume via the IAM Roles Anywhere sessions API.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 session duration, used when calculating the maximum time before vended credentials expire.setSessionDuration(com.google.protobuf.Duration.Builder builderForValue) An optional session duration, used when calculating the maximum time before vended credentials expire.setTrustAnchorArn(String value) The arn of the IAM Roles Anywhere trust anchor configured in your AWS account.setTrustAnchorArnBytes(com.google.protobuf.ByteString value) The arn of the IAM Roles Anywhere trust anchor configured in your AWS account.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<IAMRolesAnywhereCredentialProvider.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<IAMRolesAnywhereCredentialProvider.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<IAMRolesAnywhereCredentialProvider.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<IAMRolesAnywhereCredentialProvider.Builder>
-
setField
public IAMRolesAnywhereCredentialProvider.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<IAMRolesAnywhereCredentialProvider.Builder>
-
clearField
public IAMRolesAnywhereCredentialProvider.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IAMRolesAnywhereCredentialProvider.Builder>
-
clearOneof
public IAMRolesAnywhereCredentialProvider.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<IAMRolesAnywhereCredentialProvider.Builder>
-
setRepeatedField
public IAMRolesAnywhereCredentialProvider.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<IAMRolesAnywhereCredentialProvider.Builder>
-
addRepeatedField
public IAMRolesAnywhereCredentialProvider.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<IAMRolesAnywhereCredentialProvider.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IAMRolesAnywhereCredentialProvider.Builder>
-
mergeFrom
public IAMRolesAnywhereCredentialProvider.Builder mergeFrom(IAMRolesAnywhereCredentialProvider other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<IAMRolesAnywhereCredentialProvider.Builder>
-
mergeFrom
public IAMRolesAnywhereCredentialProvider.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<IAMRolesAnywhereCredentialProvider.Builder>- Throws:
IOException
-
getRoleArn
The ARN of the role to assume via the IAM Roles Anywhere sessions API. See `Configure Roles <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/getting-started.html#getting-started-step2>`_ for more details.
string role_arn = 1 [(.validate.rules) = { ... }- Specified by:
getRoleArnin interfaceIAMRolesAnywhereCredentialProviderOrBuilder- Returns:
- The roleArn.
-
getRoleArnBytes
public com.google.protobuf.ByteString getRoleArnBytes()The ARN of the role to assume via the IAM Roles Anywhere sessions API. See `Configure Roles <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/getting-started.html#getting-started-step2>`_ for more details.
string role_arn = 1 [(.validate.rules) = { ... }- Specified by:
getRoleArnBytesin interfaceIAMRolesAnywhereCredentialProviderOrBuilder- Returns:
- The bytes for roleArn.
-
setRoleArn
The ARN of the role to assume via the IAM Roles Anywhere sessions API. See `Configure Roles <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/getting-started.html#getting-started-step2>`_ for more details.
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 via the IAM Roles Anywhere sessions API. See `Configure Roles <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/getting-started.html#getting-started-step2>`_ for more details.
string role_arn = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setRoleArnBytes
public IAMRolesAnywhereCredentialProvider.Builder setRoleArnBytes(com.google.protobuf.ByteString value) The ARN of the role to assume via the IAM Roles Anywhere sessions API. See `Configure Roles <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/getting-started.html#getting-started-step2>`_ for more details.
string role_arn = 1 [(.validate.rules) = { ... }- Parameters:
value- The bytes for roleArn to set.- Returns:
- This builder for chaining.
-
hasCertificate
public boolean hasCertificate()The certificate used for authenticating to the IAM Roles Anywhere service. This certificate must match one configured in the IAM Roles Anywhere profile. See `Configure Roles <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/getting-started.html#getting-started-step2>`_ for more details.
.envoy.config.core.v3.DataSource certificate = 2 [(.validate.rules) = { ... }- Specified by:
hasCertificatein interfaceIAMRolesAnywhereCredentialProviderOrBuilder- Returns:
- Whether the certificate field is set.
-
getCertificate
The certificate used for authenticating to the IAM Roles Anywhere service. This certificate must match one configured in the IAM Roles Anywhere profile. See `Configure Roles <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/getting-started.html#getting-started-step2>`_ for more details.
.envoy.config.core.v3.DataSource certificate = 2 [(.validate.rules) = { ... }- Specified by:
getCertificatein interfaceIAMRolesAnywhereCredentialProviderOrBuilder- Returns:
- The certificate.
-
setCertificate
The certificate used for authenticating to the IAM Roles Anywhere service. This certificate must match one configured in the IAM Roles Anywhere profile. See `Configure Roles <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/getting-started.html#getting-started-step2>`_ for more details.
.envoy.config.core.v3.DataSource certificate = 2 [(.validate.rules) = { ... } -
setCertificate
public IAMRolesAnywhereCredentialProvider.Builder setCertificate(DataSource.Builder builderForValue) The certificate used for authenticating to the IAM Roles Anywhere service. This certificate must match one configured in the IAM Roles Anywhere profile. See `Configure Roles <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/getting-started.html#getting-started-step2>`_ for more details.
.envoy.config.core.v3.DataSource certificate = 2 [(.validate.rules) = { ... } -
mergeCertificate
The certificate used for authenticating to the IAM Roles Anywhere service. This certificate must match one configured in the IAM Roles Anywhere profile. See `Configure Roles <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/getting-started.html#getting-started-step2>`_ for more details.
.envoy.config.core.v3.DataSource certificate = 2 [(.validate.rules) = { ... } -
clearCertificate
The certificate used for authenticating to the IAM Roles Anywhere service. This certificate must match one configured in the IAM Roles Anywhere profile. See `Configure Roles <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/getting-started.html#getting-started-step2>`_ for more details.
.envoy.config.core.v3.DataSource certificate = 2 [(.validate.rules) = { ... } -
getCertificateBuilder
The certificate used for authenticating to the IAM Roles Anywhere service. This certificate must match one configured in the IAM Roles Anywhere profile. See `Configure Roles <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/getting-started.html#getting-started-step2>`_ for more details.
.envoy.config.core.v3.DataSource certificate = 2 [(.validate.rules) = { ... } -
getCertificateOrBuilder
The certificate used for authenticating to the IAM Roles Anywhere service. This certificate must match one configured in the IAM Roles Anywhere profile. See `Configure Roles <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/getting-started.html#getting-started-step2>`_ for more details.
.envoy.config.core.v3.DataSource certificate = 2 [(.validate.rules) = { ... }- Specified by:
getCertificateOrBuilderin interfaceIAMRolesAnywhereCredentialProviderOrBuilder
-
hasCertificateChain
public boolean hasCertificateChain()The optional certificate chain, required when you are using a subordinate certificate authority for certificate issuance. A certificate chain can contain a maximum of 5 elements, see `The IAM Roles Anywhere authentication process <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication.html>`_ for more details.
.envoy.config.core.v3.DataSource certificate_chain = 3;- Specified by:
hasCertificateChainin interfaceIAMRolesAnywhereCredentialProviderOrBuilder- Returns:
- Whether the certificateChain field is set.
-
getCertificateChain
The optional certificate chain, required when you are using a subordinate certificate authority for certificate issuance. A certificate chain can contain a maximum of 5 elements, see `The IAM Roles Anywhere authentication process <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication.html>`_ for more details.
.envoy.config.core.v3.DataSource certificate_chain = 3;- Specified by:
getCertificateChainin interfaceIAMRolesAnywhereCredentialProviderOrBuilder- Returns:
- The certificateChain.
-
setCertificateChain
The optional certificate chain, required when you are using a subordinate certificate authority for certificate issuance. A certificate chain can contain a maximum of 5 elements, see `The IAM Roles Anywhere authentication process <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication.html>`_ for more details.
.envoy.config.core.v3.DataSource certificate_chain = 3; -
setCertificateChain
public IAMRolesAnywhereCredentialProvider.Builder setCertificateChain(DataSource.Builder builderForValue) The optional certificate chain, required when you are using a subordinate certificate authority for certificate issuance. A certificate chain can contain a maximum of 5 elements, see `The IAM Roles Anywhere authentication process <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication.html>`_ for more details.
.envoy.config.core.v3.DataSource certificate_chain = 3; -
mergeCertificateChain
The optional certificate chain, required when you are using a subordinate certificate authority for certificate issuance. A certificate chain can contain a maximum of 5 elements, see `The IAM Roles Anywhere authentication process <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication.html>`_ for more details.
.envoy.config.core.v3.DataSource certificate_chain = 3; -
clearCertificateChain
The optional certificate chain, required when you are using a subordinate certificate authority for certificate issuance. A certificate chain can contain a maximum of 5 elements, see `The IAM Roles Anywhere authentication process <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication.html>`_ for more details.
.envoy.config.core.v3.DataSource certificate_chain = 3; -
getCertificateChainBuilder
The optional certificate chain, required when you are using a subordinate certificate authority for certificate issuance. A certificate chain can contain a maximum of 5 elements, see `The IAM Roles Anywhere authentication process <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication.html>`_ for more details.
.envoy.config.core.v3.DataSource certificate_chain = 3; -
getCertificateChainOrBuilder
The optional certificate chain, required when you are using a subordinate certificate authority for certificate issuance. A certificate chain can contain a maximum of 5 elements, see `The IAM Roles Anywhere authentication process <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication.html>`_ for more details.
.envoy.config.core.v3.DataSource certificate_chain = 3;- Specified by:
getCertificateChainOrBuilderin interfaceIAMRolesAnywhereCredentialProviderOrBuilder
-
hasPrivateKey
public boolean hasPrivateKey()The TLS private key matching the certificate provided.
.envoy.config.core.v3.DataSource private_key = 4 [(.validate.rules) = { ... }- Specified by:
hasPrivateKeyin interfaceIAMRolesAnywhereCredentialProviderOrBuilder- Returns:
- Whether the privateKey field is set.
-
getPrivateKey
The TLS private key matching the certificate provided.
.envoy.config.core.v3.DataSource private_key = 4 [(.validate.rules) = { ... }- Specified by:
getPrivateKeyin interfaceIAMRolesAnywhereCredentialProviderOrBuilder- Returns:
- The privateKey.
-
setPrivateKey
The TLS private key matching the certificate provided.
.envoy.config.core.v3.DataSource private_key = 4 [(.validate.rules) = { ... } -
setPrivateKey
The TLS private key matching the certificate provided.
.envoy.config.core.v3.DataSource private_key = 4 [(.validate.rules) = { ... } -
mergePrivateKey
The TLS private key matching the certificate provided.
.envoy.config.core.v3.DataSource private_key = 4 [(.validate.rules) = { ... } -
clearPrivateKey
The TLS private key matching the certificate provided.
.envoy.config.core.v3.DataSource private_key = 4 [(.validate.rules) = { ... } -
getPrivateKeyBuilder
The TLS private key matching the certificate provided.
.envoy.config.core.v3.DataSource private_key = 4 [(.validate.rules) = { ... } -
getPrivateKeyOrBuilder
The TLS private key matching the certificate provided.
.envoy.config.core.v3.DataSource private_key = 4 [(.validate.rules) = { ... }- Specified by:
getPrivateKeyOrBuilderin interfaceIAMRolesAnywhereCredentialProviderOrBuilder
-
getTrustAnchorArn
The arn of the IAM Roles Anywhere trust anchor configured in your AWS account. A trust anchor in IAM Roles anywhere establishes trust between your certificate authority (CA) and AWS. See `Establish trust <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/getting-started.html#getting-started-step1>`_ for more details.
string trust_anchor_arn = 5 [(.validate.rules) = { ... }- Specified by:
getTrustAnchorArnin interfaceIAMRolesAnywhereCredentialProviderOrBuilder- Returns:
- The trustAnchorArn.
-
getTrustAnchorArnBytes
public com.google.protobuf.ByteString getTrustAnchorArnBytes()The arn of the IAM Roles Anywhere trust anchor configured in your AWS account. A trust anchor in IAM Roles anywhere establishes trust between your certificate authority (CA) and AWS. See `Establish trust <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/getting-started.html#getting-started-step1>`_ for more details.
string trust_anchor_arn = 5 [(.validate.rules) = { ... }- Specified by:
getTrustAnchorArnBytesin interfaceIAMRolesAnywhereCredentialProviderOrBuilder- Returns:
- The bytes for trustAnchorArn.
-
setTrustAnchorArn
The arn of the IAM Roles Anywhere trust anchor configured in your AWS account. A trust anchor in IAM Roles anywhere establishes trust between your certificate authority (CA) and AWS. See `Establish trust <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/getting-started.html#getting-started-step1>`_ for more details.
string trust_anchor_arn = 5 [(.validate.rules) = { ... }- Parameters:
value- The trustAnchorArn to set.- Returns:
- This builder for chaining.
-
clearTrustAnchorArn
The arn of the IAM Roles Anywhere trust anchor configured in your AWS account. A trust anchor in IAM Roles anywhere establishes trust between your certificate authority (CA) and AWS. See `Establish trust <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/getting-started.html#getting-started-step1>`_ for more details.
string trust_anchor_arn = 5 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setTrustAnchorArnBytes
public IAMRolesAnywhereCredentialProvider.Builder setTrustAnchorArnBytes(com.google.protobuf.ByteString value) The arn of the IAM Roles Anywhere trust anchor configured in your AWS account. A trust anchor in IAM Roles anywhere establishes trust between your certificate authority (CA) and AWS. See `Establish trust <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/getting-started.html#getting-started-step1>`_ for more details.
string trust_anchor_arn = 5 [(.validate.rules) = { ... }- Parameters:
value- The bytes for trustAnchorArn to set.- Returns:
- This builder for chaining.
-
getProfileArn
The IAM Roles Anywhere profile ARN configured in your AWS account.
string profile_arn = 6 [(.validate.rules) = { ... }- Specified by:
getProfileArnin interfaceIAMRolesAnywhereCredentialProviderOrBuilder- Returns:
- The profileArn.
-
getProfileArnBytes
public com.google.protobuf.ByteString getProfileArnBytes()The IAM Roles Anywhere profile ARN configured in your AWS account.
string profile_arn = 6 [(.validate.rules) = { ... }- Specified by:
getProfileArnBytesin interfaceIAMRolesAnywhereCredentialProviderOrBuilder- Returns:
- The bytes for profileArn.
-
setProfileArn
The IAM Roles Anywhere profile ARN configured in your AWS account.
string profile_arn = 6 [(.validate.rules) = { ... }- Parameters:
value- The profileArn to set.- Returns:
- This builder for chaining.
-
clearProfileArn
The IAM Roles Anywhere profile ARN configured in your AWS account.
string profile_arn = 6 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setProfileArnBytes
public IAMRolesAnywhereCredentialProvider.Builder setProfileArnBytes(com.google.protobuf.ByteString value) The IAM Roles Anywhere profile ARN configured in your AWS account.
string profile_arn = 6 [(.validate.rules) = { ... }- Parameters:
value- The bytes for profileArn to set.- Returns:
- This builder for chaining.
-
getRoleSessionName
An optional role session name, used when identifying the role in subsequent AWS API calls.
string role_session_name = 7;- Specified by:
getRoleSessionNamein interfaceIAMRolesAnywhereCredentialProviderOrBuilder- 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.
string role_session_name = 7;- Specified by:
getRoleSessionNameBytesin interfaceIAMRolesAnywhereCredentialProviderOrBuilder- Returns:
- The bytes for roleSessionName.
-
setRoleSessionName
An optional role session name, used when identifying the role in subsequent AWS API calls.
string role_session_name = 7;- 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.
string role_session_name = 7;- Returns:
- This builder for chaining.
-
setRoleSessionNameBytes
public IAMRolesAnywhereCredentialProvider.Builder setRoleSessionNameBytes(com.google.protobuf.ByteString value) An optional role session name, used when identifying the role in subsequent AWS API calls.
string role_session_name = 7;- Parameters:
value- The bytes for roleSessionName to set.- Returns:
- This builder for chaining.
-
hasSessionDuration
public boolean hasSessionDuration()An optional session duration, used when calculating the maximum time before vended credentials expire. This value cannot exceed the value configured in the IAM Roles Anywhere profile and the resultant session duration is calculate by the formula `here <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object>`_. If no session duration is provided here, the session duration is sourced from the IAM Roles Anywhere profile.
.google.protobuf.Duration session_duration = 8 [(.validate.rules) = { ... }- Specified by:
hasSessionDurationin interfaceIAMRolesAnywhereCredentialProviderOrBuilder- Returns:
- Whether the sessionDuration field is set.
-
getSessionDuration
public com.google.protobuf.Duration getSessionDuration()An optional session duration, used when calculating the maximum time before vended credentials expire. This value cannot exceed the value configured in the IAM Roles Anywhere profile and the resultant session duration is calculate by the formula `here <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object>`_. If no session duration is provided here, the session duration is sourced from the IAM Roles Anywhere profile.
.google.protobuf.Duration session_duration = 8 [(.validate.rules) = { ... }- Specified by:
getSessionDurationin interfaceIAMRolesAnywhereCredentialProviderOrBuilder- Returns:
- The sessionDuration.
-
setSessionDuration
public IAMRolesAnywhereCredentialProvider.Builder setSessionDuration(com.google.protobuf.Duration value) An optional session duration, used when calculating the maximum time before vended credentials expire. This value cannot exceed the value configured in the IAM Roles Anywhere profile and the resultant session duration is calculate by the formula `here <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object>`_. If no session duration is provided here, the session duration is sourced from the IAM Roles Anywhere profile.
.google.protobuf.Duration session_duration = 8 [(.validate.rules) = { ... } -
setSessionDuration
public IAMRolesAnywhereCredentialProvider.Builder setSessionDuration(com.google.protobuf.Duration.Builder builderForValue) An optional session duration, used when calculating the maximum time before vended credentials expire. This value cannot exceed the value configured in the IAM Roles Anywhere profile and the resultant session duration is calculate by the formula `here <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object>`_. If no session duration is provided here, the session duration is sourced from the IAM Roles Anywhere profile.
.google.protobuf.Duration session_duration = 8 [(.validate.rules) = { ... } -
mergeSessionDuration
public IAMRolesAnywhereCredentialProvider.Builder mergeSessionDuration(com.google.protobuf.Duration value) An optional session duration, used when calculating the maximum time before vended credentials expire. This value cannot exceed the value configured in the IAM Roles Anywhere profile and the resultant session duration is calculate by the formula `here <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object>`_. If no session duration is provided here, the session duration is sourced from the IAM Roles Anywhere profile.
.google.protobuf.Duration session_duration = 8 [(.validate.rules) = { ... } -
clearSessionDuration
An optional session duration, used when calculating the maximum time before vended credentials expire. This value cannot exceed the value configured in the IAM Roles Anywhere profile and the resultant session duration is calculate by the formula `here <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object>`_. If no session duration is provided here, the session duration is sourced from the IAM Roles Anywhere profile.
.google.protobuf.Duration session_duration = 8 [(.validate.rules) = { ... } -
getSessionDurationBuilder
public com.google.protobuf.Duration.Builder getSessionDurationBuilder()An optional session duration, used when calculating the maximum time before vended credentials expire. This value cannot exceed the value configured in the IAM Roles Anywhere profile and the resultant session duration is calculate by the formula `here <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object>`_. If no session duration is provided here, the session duration is sourced from the IAM Roles Anywhere profile.
.google.protobuf.Duration session_duration = 8 [(.validate.rules) = { ... } -
getSessionDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getSessionDurationOrBuilder()An optional session duration, used when calculating the maximum time before vended credentials expire. This value cannot exceed the value configured in the IAM Roles Anywhere profile and the resultant session duration is calculate by the formula `here <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object>`_. If no session duration is provided here, the session duration is sourced from the IAM Roles Anywhere profile.
.google.protobuf.Duration session_duration = 8 [(.validate.rules) = { ... }- Specified by:
getSessionDurationOrBuilderin interfaceIAMRolesAnywhereCredentialProviderOrBuilder
-
setUnknownFields
public final IAMRolesAnywhereCredentialProvider.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IAMRolesAnywhereCredentialProvider.Builder>
-
mergeUnknownFields
public final IAMRolesAnywhereCredentialProvider.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IAMRolesAnywhereCredentialProvider.Builder>
-