java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AwsIam.Builder>
io.envoyproxy.envoy.extensions.filters.network.redis_proxy.v3.AwsIam.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, AwsIamOrBuilder, Cloneable
Enclosing class:
AwsIam

public static final class AwsIam.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AwsIam.Builder> implements AwsIamOrBuilder
 [#next-free-field: 6]
 
Protobuf type envoy.extensions.filters.network.redis_proxy.v3.AwsIam
  • 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<AwsIam.Builder>
    • clear

      public AwsIam.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<AwsIam.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<AwsIam.Builder>
    • getDefaultInstanceForType

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

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

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

      public AwsIam.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<AwsIam.Builder>
    • setField

      public AwsIam.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<AwsIam.Builder>
    • clearField

      public AwsIam.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<AwsIam.Builder>
    • clearOneof

      public AwsIam.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<AwsIam.Builder>
    • setRepeatedField

      public AwsIam.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<AwsIam.Builder>
    • addRepeatedField

      public AwsIam.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<AwsIam.Builder>
    • mergeFrom

      public AwsIam.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<AwsIam.Builder>
    • mergeFrom

      public AwsIam.Builder mergeFrom(AwsIam other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AwsIam.Builder>
    • mergeFrom

      public AwsIam.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<AwsIam.Builder>
      Throws:
      IOException
    • hasCredentialProvider

      public boolean hasCredentialProvider()
       An AwsCredentialProvider, allowing the use of a specific credential provider chain or specific provider settings
       
      .envoy.extensions.common.aws.v3.AwsCredentialProvider credential_provider = 1;
      Specified by:
      hasCredentialProvider in interface AwsIamOrBuilder
      Returns:
      Whether the credentialProvider field is set.
    • getCredentialProvider

      public AwsCredentialProvider getCredentialProvider()
       An AwsCredentialProvider, allowing the use of a specific credential provider chain or specific provider settings
       
      .envoy.extensions.common.aws.v3.AwsCredentialProvider credential_provider = 1;
      Specified by:
      getCredentialProvider in interface AwsIamOrBuilder
      Returns:
      The credentialProvider.
    • setCredentialProvider

      public AwsIam.Builder setCredentialProvider(AwsCredentialProvider value)
       An AwsCredentialProvider, allowing the use of a specific credential provider chain or specific provider settings
       
      .envoy.extensions.common.aws.v3.AwsCredentialProvider credential_provider = 1;
    • setCredentialProvider

      public AwsIam.Builder setCredentialProvider(AwsCredentialProvider.Builder builderForValue)
       An AwsCredentialProvider, allowing the use of a specific credential provider chain or specific provider settings
       
      .envoy.extensions.common.aws.v3.AwsCredentialProvider credential_provider = 1;
    • mergeCredentialProvider

      public AwsIam.Builder mergeCredentialProvider(AwsCredentialProvider value)
       An AwsCredentialProvider, allowing the use of a specific credential provider chain or specific provider settings
       
      .envoy.extensions.common.aws.v3.AwsCredentialProvider credential_provider = 1;
    • clearCredentialProvider

      public AwsIam.Builder clearCredentialProvider()
       An AwsCredentialProvider, allowing the use of a specific credential provider chain or specific provider settings
       
      .envoy.extensions.common.aws.v3.AwsCredentialProvider credential_provider = 1;
    • getCredentialProviderBuilder

      public AwsCredentialProvider.Builder getCredentialProviderBuilder()
       An AwsCredentialProvider, allowing the use of a specific credential provider chain or specific provider settings
       
      .envoy.extensions.common.aws.v3.AwsCredentialProvider credential_provider = 1;
    • getCredentialProviderOrBuilder

      public AwsCredentialProviderOrBuilder getCredentialProviderOrBuilder()
       An AwsCredentialProvider, allowing the use of a specific credential provider chain or specific provider settings
       
      .envoy.extensions.common.aws.v3.AwsCredentialProvider credential_provider = 1;
      Specified by:
      getCredentialProviderOrBuilder in interface AwsIamOrBuilder
    • getCacheName

      public String getCacheName()
       The name of the cache, used when generating the authentication token.
       
      string cache_name = 2 [(.validate.rules) = { ... }
      Specified by:
      getCacheName in interface AwsIamOrBuilder
      Returns:
      The cacheName.
    • getCacheNameBytes

      public com.google.protobuf.ByteString getCacheNameBytes()
       The name of the cache, used when generating the authentication token.
       
      string cache_name = 2 [(.validate.rules) = { ... }
      Specified by:
      getCacheNameBytes in interface AwsIamOrBuilder
      Returns:
      The bytes for cacheName.
    • setCacheName

      public AwsIam.Builder setCacheName(String value)
       The name of the cache, used when generating the authentication token.
       
      string cache_name = 2 [(.validate.rules) = { ... }
      Parameters:
      value - The cacheName to set.
      Returns:
      This builder for chaining.
    • clearCacheName

      public AwsIam.Builder clearCacheName()
       The name of the cache, used when generating the authentication token.
       
      string cache_name = 2 [(.validate.rules) = { ... }
      Returns:
      This builder for chaining.
    • setCacheNameBytes

      public AwsIam.Builder setCacheNameBytes(com.google.protobuf.ByteString value)
       The name of the cache, used when generating the authentication token.
       
      string cache_name = 2 [(.validate.rules) = { ... }
      Parameters:
      value - The bytes for cacheName to set.
      Returns:
      This builder for chaining.
    • getServiceName

      public String getServiceName()
       The optional service name to be used in AWS IAM authentication. If not provided, the service name will be set to ``elasticache``. For Amazon MemoryDB
       the service name should be set to ``memorydb``.
       
      string service_name = 3;
      Specified by:
      getServiceName in interface AwsIamOrBuilder
      Returns:
      The serviceName.
    • getServiceNameBytes

      public com.google.protobuf.ByteString getServiceNameBytes()
       The optional service name to be used in AWS IAM authentication. If not provided, the service name will be set to ``elasticache``. For Amazon MemoryDB
       the service name should be set to ``memorydb``.
       
      string service_name = 3;
      Specified by:
      getServiceNameBytes in interface AwsIamOrBuilder
      Returns:
      The bytes for serviceName.
    • setServiceName

      public AwsIam.Builder setServiceName(String value)
       The optional service name to be used in AWS IAM authentication. If not provided, the service name will be set to ``elasticache``. For Amazon MemoryDB
       the service name should be set to ``memorydb``.
       
      string service_name = 3;
      Parameters:
      value - The serviceName to set.
      Returns:
      This builder for chaining.
    • clearServiceName

      public AwsIam.Builder clearServiceName()
       The optional service name to be used in AWS IAM authentication. If not provided, the service name will be set to ``elasticache``. For Amazon MemoryDB
       the service name should be set to ``memorydb``.
       
      string service_name = 3;
      Returns:
      This builder for chaining.
    • setServiceNameBytes

      public AwsIam.Builder setServiceNameBytes(com.google.protobuf.ByteString value)
       The optional service name to be used in AWS IAM authentication. If not provided, the service name will be set to ``elasticache``. For Amazon MemoryDB
       the service name should be set to ``memorydb``.
       
      string service_name = 3;
      Parameters:
      value - The bytes for serviceName to set.
      Returns:
      This builder for chaining.
    • getRegion

      public String getRegion()
       The optional AWS region that your cache is located in. If not provided, the region will be deduced using the region provider chain
       as described in :ref:`config_http_filters_aws_request_signing_region`.
       
      string region = 4;
      Specified by:
      getRegion in interface AwsIamOrBuilder
      Returns:
      The region.
    • getRegionBytes

      public com.google.protobuf.ByteString getRegionBytes()
       The optional AWS region that your cache is located in. If not provided, the region will be deduced using the region provider chain
       as described in :ref:`config_http_filters_aws_request_signing_region`.
       
      string region = 4;
      Specified by:
      getRegionBytes in interface AwsIamOrBuilder
      Returns:
      The bytes for region.
    • setRegion

      public AwsIam.Builder setRegion(String value)
       The optional AWS region that your cache is located in. If not provided, the region will be deduced using the region provider chain
       as described in :ref:`config_http_filters_aws_request_signing_region`.
       
      string region = 4;
      Parameters:
      value - The region to set.
      Returns:
      This builder for chaining.
    • clearRegion

      public AwsIam.Builder clearRegion()
       The optional AWS region that your cache is located in. If not provided, the region will be deduced using the region provider chain
       as described in :ref:`config_http_filters_aws_request_signing_region`.
       
      string region = 4;
      Returns:
      This builder for chaining.
    • setRegionBytes

      public AwsIam.Builder setRegionBytes(com.google.protobuf.ByteString value)
       The optional AWS region that your cache is located in. If not provided, the region will be deduced using the region provider chain
       as described in :ref:`config_http_filters_aws_request_signing_region`.
       
      string region = 4;
      Parameters:
      value - The bytes for region to set.
      Returns:
      This builder for chaining.
    • hasExpirationTime

      public boolean hasExpirationTime()
       Number of seconds before the IAM authentication token will expire. If not set, defaults to 60s (1 minute). Maximum of 900s (15 minutes)
       Expiration of the current authentication token will automatically trigger generation of a new token.
       As envoy will automatically continue to generate new tokens as required, there is no substantial benefit to using a long expiration value here.
       
      .google.protobuf.Duration expiration_time = 5 [(.validate.rules) = { ... }
      Specified by:
      hasExpirationTime in interface AwsIamOrBuilder
      Returns:
      Whether the expirationTime field is set.
    • getExpirationTime

      public com.google.protobuf.Duration getExpirationTime()
       Number of seconds before the IAM authentication token will expire. If not set, defaults to 60s (1 minute). Maximum of 900s (15 minutes)
       Expiration of the current authentication token will automatically trigger generation of a new token.
       As envoy will automatically continue to generate new tokens as required, there is no substantial benefit to using a long expiration value here.
       
      .google.protobuf.Duration expiration_time = 5 [(.validate.rules) = { ... }
      Specified by:
      getExpirationTime in interface AwsIamOrBuilder
      Returns:
      The expirationTime.
    • setExpirationTime

      public AwsIam.Builder setExpirationTime(com.google.protobuf.Duration value)
       Number of seconds before the IAM authentication token will expire. If not set, defaults to 60s (1 minute). Maximum of 900s (15 minutes)
       Expiration of the current authentication token will automatically trigger generation of a new token.
       As envoy will automatically continue to generate new tokens as required, there is no substantial benefit to using a long expiration value here.
       
      .google.protobuf.Duration expiration_time = 5 [(.validate.rules) = { ... }
    • setExpirationTime

      public AwsIam.Builder setExpirationTime(com.google.protobuf.Duration.Builder builderForValue)
       Number of seconds before the IAM authentication token will expire. If not set, defaults to 60s (1 minute). Maximum of 900s (15 minutes)
       Expiration of the current authentication token will automatically trigger generation of a new token.
       As envoy will automatically continue to generate new tokens as required, there is no substantial benefit to using a long expiration value here.
       
      .google.protobuf.Duration expiration_time = 5 [(.validate.rules) = { ... }
    • mergeExpirationTime

      public AwsIam.Builder mergeExpirationTime(com.google.protobuf.Duration value)
       Number of seconds before the IAM authentication token will expire. If not set, defaults to 60s (1 minute). Maximum of 900s (15 minutes)
       Expiration of the current authentication token will automatically trigger generation of a new token.
       As envoy will automatically continue to generate new tokens as required, there is no substantial benefit to using a long expiration value here.
       
      .google.protobuf.Duration expiration_time = 5 [(.validate.rules) = { ... }
    • clearExpirationTime

      public AwsIam.Builder clearExpirationTime()
       Number of seconds before the IAM authentication token will expire. If not set, defaults to 60s (1 minute). Maximum of 900s (15 minutes)
       Expiration of the current authentication token will automatically trigger generation of a new token.
       As envoy will automatically continue to generate new tokens as required, there is no substantial benefit to using a long expiration value here.
       
      .google.protobuf.Duration expiration_time = 5 [(.validate.rules) = { ... }
    • getExpirationTimeBuilder

      public com.google.protobuf.Duration.Builder getExpirationTimeBuilder()
       Number of seconds before the IAM authentication token will expire. If not set, defaults to 60s (1 minute). Maximum of 900s (15 minutes)
       Expiration of the current authentication token will automatically trigger generation of a new token.
       As envoy will automatically continue to generate new tokens as required, there is no substantial benefit to using a long expiration value here.
       
      .google.protobuf.Duration expiration_time = 5 [(.validate.rules) = { ... }
    • getExpirationTimeOrBuilder

      public com.google.protobuf.DurationOrBuilder getExpirationTimeOrBuilder()
       Number of seconds before the IAM authentication token will expire. If not set, defaults to 60s (1 minute). Maximum of 900s (15 minutes)
       Expiration of the current authentication token will automatically trigger generation of a new token.
       As envoy will automatically continue to generate new tokens as required, there is no substantial benefit to using a long expiration value here.
       
      .google.protobuf.Duration expiration_time = 5 [(.validate.rules) = { ... }
      Specified by:
      getExpirationTimeOrBuilder in interface AwsIamOrBuilder
    • setUnknownFields

      public final AwsIam.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<AwsIam.Builder>
    • mergeUnknownFields

      public final AwsIam.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<AwsIam.Builder>