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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<IAMRolesAnywhereCredentialProvider.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<IAMRolesAnywhereCredentialProvider.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<IAMRolesAnywhereCredentialProvider.Builder>
    • getDefaultInstanceForType

      public IAMRolesAnywhereCredentialProvider getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public IAMRolesAnywhereCredentialProvider buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<IAMRolesAnywhereCredentialProvider.Builder>
    • setField

      public IAMRolesAnywhereCredentialProvider.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<IAMRolesAnywhereCredentialProvider.Builder>
    • clearField

      public IAMRolesAnywhereCredentialProvider.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<IAMRolesAnywhereCredentialProvider.Builder>
    • clearOneof

      public IAMRolesAnywhereCredentialProvider.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<IAMRolesAnywhereCredentialProvider.Builder>
    • setRepeatedField

      public IAMRolesAnywhereCredentialProvider.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IAMRolesAnywhereCredentialProvider.Builder>
    • addRepeatedField

      public IAMRolesAnywhereCredentialProvider.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IAMRolesAnywhereCredentialProvider.Builder>
    • mergeFrom

      public IAMRolesAnywhereCredentialProvider.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<IAMRolesAnywhereCredentialProvider.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<IAMRolesAnywhereCredentialProvider.Builder>
      Throws:
      IOException
    • getRoleArn

      public String 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:
      getRoleArn in interface IAMRolesAnywhereCredentialProviderOrBuilder
      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:
      getRoleArnBytes in interface IAMRolesAnywhereCredentialProviderOrBuilder
      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:
      hasCertificate in interface IAMRolesAnywhereCredentialProviderOrBuilder
      Returns:
      Whether the certificate field is set.
    • getCertificate

      public DataSource 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:
      getCertificate in interface IAMRolesAnywhereCredentialProviderOrBuilder
      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

      public IAMRolesAnywhereCredentialProvider.Builder mergeCertificate(DataSource value)
       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

      public IAMRolesAnywhereCredentialProvider.Builder 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

      public DataSource.Builder 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

      public DataSourceOrBuilder 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:
      getCertificateOrBuilder in interface IAMRolesAnywhereCredentialProviderOrBuilder
    • 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:
      hasCertificateChain in interface IAMRolesAnywhereCredentialProviderOrBuilder
      Returns:
      Whether the certificateChain field is set.
    • getCertificateChain

      public DataSource 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:
      getCertificateChain in interface IAMRolesAnywhereCredentialProviderOrBuilder
      Returns:
      The certificateChain.
    • setCertificateChain

      public IAMRolesAnywhereCredentialProvider.Builder setCertificateChain(DataSource value)
       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

      public IAMRolesAnywhereCredentialProvider.Builder mergeCertificateChain(DataSource value)
       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

      public IAMRolesAnywhereCredentialProvider.Builder 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

      public DataSource.Builder 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

      public DataSourceOrBuilder 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:
      getCertificateChainOrBuilder in interface IAMRolesAnywhereCredentialProviderOrBuilder
    • hasPrivateKey

      public boolean hasPrivateKey()
       The TLS private key matching the certificate provided.
       
      .envoy.config.core.v3.DataSource private_key = 4 [(.validate.rules) = { ... }
      Specified by:
      hasPrivateKey in interface IAMRolesAnywhereCredentialProviderOrBuilder
      Returns:
      Whether the privateKey field is set.
    • getPrivateKey

      public DataSource getPrivateKey()
       The TLS private key matching the certificate provided.
       
      .envoy.config.core.v3.DataSource private_key = 4 [(.validate.rules) = { ... }
      Specified by:
      getPrivateKey in interface IAMRolesAnywhereCredentialProviderOrBuilder
      Returns:
      The privateKey.
    • setPrivateKey

       The TLS private key matching the certificate provided.
       
      .envoy.config.core.v3.DataSource private_key = 4 [(.validate.rules) = { ... }
    • setPrivateKey

      public IAMRolesAnywhereCredentialProvider.Builder setPrivateKey(DataSource.Builder builderForValue)
       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

      public DataSource.Builder getPrivateKeyBuilder()
       The TLS private key matching the certificate provided.
       
      .envoy.config.core.v3.DataSource private_key = 4 [(.validate.rules) = { ... }
    • getPrivateKeyOrBuilder

      public DataSourceOrBuilder getPrivateKeyOrBuilder()
       The TLS private key matching the certificate provided.
       
      .envoy.config.core.v3.DataSource private_key = 4 [(.validate.rules) = { ... }
      Specified by:
      getPrivateKeyOrBuilder in interface IAMRolesAnywhereCredentialProviderOrBuilder
    • getTrustAnchorArn

      public String 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:
      getTrustAnchorArn in interface IAMRolesAnywhereCredentialProviderOrBuilder
      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:
      getTrustAnchorArnBytes in interface IAMRolesAnywhereCredentialProviderOrBuilder
      Returns:
      The bytes for trustAnchorArn.
    • setTrustAnchorArn

      public IAMRolesAnywhereCredentialProvider.Builder setTrustAnchorArn(String 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 trustAnchorArn to set.
      Returns:
      This builder for chaining.
    • clearTrustAnchorArn

      public IAMRolesAnywhereCredentialProvider.Builder 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

      public String getProfileArn()
       The IAM Roles Anywhere profile ARN configured in your AWS account.
       
      string profile_arn = 6 [(.validate.rules) = { ... }
      Specified by:
      getProfileArn in interface IAMRolesAnywhereCredentialProviderOrBuilder
      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:
      getProfileArnBytes in interface IAMRolesAnywhereCredentialProviderOrBuilder
      Returns:
      The bytes for profileArn.
    • setProfileArn

      public IAMRolesAnywhereCredentialProvider.Builder setProfileArn(String value)
       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

      public String getRoleSessionName()
       An optional role session name, used when identifying the role in subsequent AWS API calls.
       
      string role_session_name = 7;
      Specified by:
      getRoleSessionName in interface IAMRolesAnywhereCredentialProviderOrBuilder
      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:
      getRoleSessionNameBytes in interface IAMRolesAnywhereCredentialProviderOrBuilder
      Returns:
      The bytes for roleSessionName.
    • setRoleSessionName

      public IAMRolesAnywhereCredentialProvider.Builder setRoleSessionName(String value)
       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

      public IAMRolesAnywhereCredentialProvider.Builder 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:
      hasSessionDuration in interface IAMRolesAnywhereCredentialProviderOrBuilder
      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:
      getSessionDuration in interface IAMRolesAnywhereCredentialProviderOrBuilder
      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

      public IAMRolesAnywhereCredentialProvider.Builder 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:
      getSessionDurationOrBuilder in interface IAMRolesAnywhereCredentialProviderOrBuilder
    • setUnknownFields

      public final IAMRolesAnywhereCredentialProvider.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IAMRolesAnywhereCredentialProvider.Builder>
    • mergeUnknownFields

      public final IAMRolesAnywhereCredentialProvider.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IAMRolesAnywhereCredentialProvider.Builder>