Class AwsIam.Builder
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The name of the cache, used when generating the authentication token.An AwsCredentialProvider, allowing the use of a specific credential provider chain or specific provider settingsNumber of seconds before the IAM authentication token will expire.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The optional AWS region that your cache is located in.The optional service name to be used in AWS IAM authentication.clone()The name of the cache, used when generating the authentication token.com.google.protobuf.ByteStringThe name of the cache, used when generating the authentication token.An AwsCredentialProvider, allowing the use of a specific credential provider chain or specific provider settingsAn AwsCredentialProvider, allowing the use of a specific credential provider chain or specific provider settingsAn AwsCredentialProvider, allowing the use of a specific credential provider chain or specific provider settingsstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationNumber of seconds before the IAM authentication token will expire.com.google.protobuf.Duration.BuilderNumber of seconds before the IAM authentication token will expire.com.google.protobuf.DurationOrBuilderNumber of seconds before the IAM authentication token will expire.The optional AWS region that your cache is located in.com.google.protobuf.ByteStringThe optional AWS region that your cache is located in.The optional service name to be used in AWS IAM authentication.com.google.protobuf.ByteStringThe optional service name to be used in AWS IAM authentication.booleanAn AwsCredentialProvider, allowing the use of a specific credential provider chain or specific provider settingsbooleanNumber of seconds before the IAM authentication token will expire.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanAn AwsCredentialProvider, allowing the use of a specific credential provider chain or specific provider settingsmergeExpirationTime(com.google.protobuf.Duration value) Number of seconds before the IAM authentication token will expire.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final AwsIam.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setCacheName(String value) The name of the cache, used when generating the authentication token.setCacheNameBytes(com.google.protobuf.ByteString value) The name of the cache, used when generating the authentication token.An AwsCredentialProvider, allowing the use of a specific credential provider chain or specific provider settingssetCredentialProvider(AwsCredentialProvider.Builder builderForValue) An AwsCredentialProvider, allowing the use of a specific credential provider chain or specific provider settingssetExpirationTime(com.google.protobuf.Duration value) Number of seconds before the IAM authentication token will expire.setExpirationTime(com.google.protobuf.Duration.Builder builderForValue) Number of seconds before the IAM authentication token will expire.The optional AWS region that your cache is located in.setRegionBytes(com.google.protobuf.ByteString value) The optional AWS region that your cache is located in.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setServiceName(String value) The optional service name to be used in AWS IAM authentication.setServiceNameBytes(com.google.protobuf.ByteString value) The optional service name to be used in AWS IAM authentication.final AwsIam.BuildersetUnknownFields(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<AwsIam.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<AwsIam.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<AwsIam.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<AwsIam.Builder>
-
setField
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsIam.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsIam.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsIam.Builder>
-
setRepeatedField
public AwsIam.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<AwsIam.Builder>
-
addRepeatedField
public AwsIam.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<AwsIam.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AwsIam.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
hasCredentialProviderin interfaceAwsIamOrBuilder- Returns:
- Whether the credentialProvider field is set.
-
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:
getCredentialProviderin interfaceAwsIamOrBuilder- Returns:
- The credentialProvider.
-
setCredentialProvider
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
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
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
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
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
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:
getCredentialProviderOrBuilderin interfaceAwsIamOrBuilder
-
getCacheName
The name of the cache, used when generating the authentication token.
string cache_name = 2 [(.validate.rules) = { ... }- Specified by:
getCacheNamein interfaceAwsIamOrBuilder- 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:
getCacheNameBytesin interfaceAwsIamOrBuilder- Returns:
- The bytes for cacheName.
-
setCacheName
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
The name of the cache, used when generating the authentication token.
string cache_name = 2 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setCacheNameBytes
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
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:
getServiceNamein interfaceAwsIamOrBuilder- 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:
getServiceNameBytesin interfaceAwsIamOrBuilder- Returns:
- The bytes for serviceName.
-
setServiceName
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
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
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
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:
getRegionin interfaceAwsIamOrBuilder- 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:
getRegionBytesin interfaceAwsIamOrBuilder- Returns:
- The bytes for region.
-
setRegion
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
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
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:
hasExpirationTimein interfaceAwsIamOrBuilder- 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:
getExpirationTimein interfaceAwsIamOrBuilder- Returns:
- The expirationTime.
-
setExpirationTime
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
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
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
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:
getExpirationTimeOrBuilderin interfaceAwsIamOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsIam.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AwsIam.Builder>
-