Class Configuration
- All Implemented Interfaces:
- Serializable,- SdkPojo,- ToCopyableBuilder<Configuration.Builder,- Configuration> 
Access control configuration structures for your resource. You specify the configuration as a type-value pair. You can specify only one type of access control configuration.
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfacestatic enum
- 
Method SummaryModifier and TypeMethodDescriptionstatic Configuration.Builderbuilder()The access control configuration is for a DynamoDB stream.The access control configuration is for a DynamoDB table or index.final EbsSnapshotConfigurationThe access control configuration is for an Amazon EBS volume snapshot.The access control configuration is for an Amazon ECR repository.The access control configuration is for an Amazon EFS file system.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.static ConfigurationfromDynamodbStream(Consumer<DynamodbStreamConfiguration.Builder> dynamodbStream) Create an instance of this class withdynamodbStream()initialized to the given value.static ConfigurationfromDynamodbStream(DynamodbStreamConfiguration dynamodbStream) Create an instance of this class withdynamodbStream()initialized to the given value.static ConfigurationfromDynamodbTable(Consumer<DynamodbTableConfiguration.Builder> dynamodbTable) Create an instance of this class withdynamodbTable()initialized to the given value.static ConfigurationfromDynamodbTable(DynamodbTableConfiguration dynamodbTable) Create an instance of this class withdynamodbTable()initialized to the given value.static ConfigurationfromEbsSnapshot(Consumer<EbsSnapshotConfiguration.Builder> ebsSnapshot) Create an instance of this class withebsSnapshot()initialized to the given value.static ConfigurationfromEbsSnapshot(EbsSnapshotConfiguration ebsSnapshot) Create an instance of this class withebsSnapshot()initialized to the given value.static ConfigurationfromEcrRepository(Consumer<EcrRepositoryConfiguration.Builder> ecrRepository) Create an instance of this class withecrRepository()initialized to the given value.static ConfigurationfromEcrRepository(EcrRepositoryConfiguration ecrRepository) Create an instance of this class withecrRepository()initialized to the given value.static ConfigurationfromEfsFileSystem(Consumer<EfsFileSystemConfiguration.Builder> efsFileSystem) Create an instance of this class withefsFileSystem()initialized to the given value.static ConfigurationfromEfsFileSystem(EfsFileSystemConfiguration efsFileSystem) Create an instance of this class withefsFileSystem()initialized to the given value.static ConfigurationfromIamRole(Consumer<IamRoleConfiguration.Builder> iamRole) Create an instance of this class withiamRole()initialized to the given value.static ConfigurationfromIamRole(IamRoleConfiguration iamRole) Create an instance of this class withiamRole()initialized to the given value.static ConfigurationCreate an instance of this class withkmsKey()initialized to the given value.static ConfigurationfromKmsKey(KmsKeyConfiguration kmsKey) Create an instance of this class withkmsKey()initialized to the given value.static ConfigurationfromRdsDbClusterSnapshot(Consumer<RdsDbClusterSnapshotConfiguration.Builder> rdsDbClusterSnapshot) Create an instance of this class withrdsDbClusterSnapshot()initialized to the given value.static ConfigurationfromRdsDbClusterSnapshot(RdsDbClusterSnapshotConfiguration rdsDbClusterSnapshot) Create an instance of this class withrdsDbClusterSnapshot()initialized to the given value.static ConfigurationfromRdsDbSnapshot(Consumer<RdsDbSnapshotConfiguration.Builder> rdsDbSnapshot) Create an instance of this class withrdsDbSnapshot()initialized to the given value.static ConfigurationfromRdsDbSnapshot(RdsDbSnapshotConfiguration rdsDbSnapshot) Create an instance of this class withrdsDbSnapshot()initialized to the given value.static ConfigurationfromS3Bucket(Consumer<S3BucketConfiguration.Builder> s3Bucket) Create an instance of this class withs3Bucket()initialized to the given value.static ConfigurationfromS3Bucket(S3BucketConfiguration s3Bucket) Create an instance of this class withs3Bucket()initialized to the given value.static ConfigurationfromS3ExpressDirectoryBucket(Consumer<S3ExpressDirectoryBucketConfiguration.Builder> s3ExpressDirectoryBucket) Create an instance of this class withs3ExpressDirectoryBucket()initialized to the given value.static ConfigurationfromS3ExpressDirectoryBucket(S3ExpressDirectoryBucketConfiguration s3ExpressDirectoryBucket) Create an instance of this class withs3ExpressDirectoryBucket()initialized to the given value.static ConfigurationfromSecretsManagerSecret(Consumer<SecretsManagerSecretConfiguration.Builder> secretsManagerSecret) Create an instance of this class withsecretsManagerSecret()initialized to the given value.static ConfigurationfromSecretsManagerSecret(SecretsManagerSecretConfiguration secretsManagerSecret) Create an instance of this class withsecretsManagerSecret()initialized to the given value.static ConfigurationfromSnsTopic(Consumer<SnsTopicConfiguration.Builder> snsTopic) Create an instance of this class withsnsTopic()initialized to the given value.static ConfigurationfromSnsTopic(SnsTopicConfiguration snsTopic) Create an instance of this class withsnsTopic()initialized to the given value.static ConfigurationfromSqsQueue(Consumer<SqsQueueConfiguration.Builder> sqsQueue) Create an instance of this class withsqsQueue()initialized to the given value.static ConfigurationfromSqsQueue(SqsQueueConfiguration sqsQueue) Create an instance of this class withsqsQueue()initialized to the given value.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IamRoleConfigurationiamRole()The access control configuration is for an IAM role.final KmsKeyConfigurationkmsKey()The access control configuration is for a KMS key.The access control configuration is for an Amazon RDS DB cluster snapshot.The access control configuration is for an Amazon RDS DB snapshot.final S3BucketConfigurations3Bucket()The access control configuration is for an Amazon S3 bucket.The access control configuration is for an Amazon S3 directory bucket.The access control configuration is for a Secrets Manager secret.static Class<? extends Configuration.Builder> final SnsTopicConfigurationsnsTopic()The access control configuration is for an Amazon SNS topicfinal SqsQueueConfigurationsqsQueue()The access control configuration is for an Amazon SQS queue.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.type()Retrieve an enum value representing which member of this object is populated.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
- 
Method Details- 
ebsSnapshotThe access control configuration is for an Amazon EBS volume snapshot. - Returns:
- The access control configuration is for an Amazon EBS volume snapshot.
 
- 
ecrRepositoryThe access control configuration is for an Amazon ECR repository. - Returns:
- The access control configuration is for an Amazon ECR repository.
 
- 
iamRoleThe access control configuration is for an IAM role. - Returns:
- The access control configuration is for an IAM role.
 
- 
efsFileSystemThe access control configuration is for an Amazon EFS file system. - Returns:
- The access control configuration is for an Amazon EFS file system.
 
- 
kmsKeyThe access control configuration is for a KMS key. - Returns:
- The access control configuration is for a KMS key.
 
- 
rdsDbClusterSnapshotThe access control configuration is for an Amazon RDS DB cluster snapshot. - Returns:
- The access control configuration is for an Amazon RDS DB cluster snapshot.
 
- 
rdsDbSnapshotThe access control configuration is for an Amazon RDS DB snapshot. - Returns:
- The access control configuration is for an Amazon RDS DB snapshot.
 
- 
secretsManagerSecretThe access control configuration is for a Secrets Manager secret. - Returns:
- The access control configuration is for a Secrets Manager secret.
 
- 
s3BucketThe access control configuration is for an Amazon S3 bucket. - Returns:
- The access control configuration is for an Amazon S3 bucket.
 
- 
snsTopicThe access control configuration is for an Amazon SNS topic - Returns:
- The access control configuration is for an Amazon SNS topic
 
- 
sqsQueueThe access control configuration is for an Amazon SQS queue. - Returns:
- The access control configuration is for an Amazon SQS queue.
 
- 
s3ExpressDirectoryBucketThe access control configuration is for an Amazon S3 directory bucket. - Returns:
- The access control configuration is for an Amazon S3 directory bucket.
 
- 
dynamodbStreamThe access control configuration is for a DynamoDB stream. - Returns:
- The access control configuration is for a DynamoDB stream.
 
- 
dynamodbTableThe access control configuration is for a DynamoDB table or index. - Returns:
- The access control configuration is for a DynamoDB table or index.
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<Configuration.Builder,- Configuration> 
- Returns:
- a builder for type T
 
- 
builder
- 
serializableBuilderClass
- 
hashCode
- 
equals
- 
equalsBySdkFieldsDescription copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
- equalsBySdkFieldsin interface- SdkPojo
- Parameters:
- obj- the object to be compared with
- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
 
- 
toString
- 
getValueForField
- 
fromEbsSnapshotCreate an instance of this class withebsSnapshot()initialized to the given value.The access control configuration is for an Amazon EBS volume snapshot. - Parameters:
- ebsSnapshot- The access control configuration is for an Amazon EBS volume snapshot.
 
- 
fromEbsSnapshotCreate an instance of this class withebsSnapshot()initialized to the given value.The access control configuration is for an Amazon EBS volume snapshot. - Parameters:
- ebsSnapshot- The access control configuration is for an Amazon EBS volume snapshot.
 
- 
fromEcrRepositoryCreate an instance of this class withecrRepository()initialized to the given value.The access control configuration is for an Amazon ECR repository. - Parameters:
- ecrRepository- The access control configuration is for an Amazon ECR repository.
 
- 
fromEcrRepositorypublic static Configuration fromEcrRepository(Consumer<EcrRepositoryConfiguration.Builder> ecrRepository) Create an instance of this class withecrRepository()initialized to the given value.The access control configuration is for an Amazon ECR repository. - Parameters:
- ecrRepository- The access control configuration is for an Amazon ECR repository.
 
- 
fromIamRoleCreate an instance of this class withiamRole()initialized to the given value.The access control configuration is for an IAM role. - Parameters:
- iamRole- The access control configuration is for an IAM role.
 
- 
fromIamRoleCreate an instance of this class withiamRole()initialized to the given value.The access control configuration is for an IAM role. - Parameters:
- iamRole- The access control configuration is for an IAM role.
 
- 
fromEfsFileSystemCreate an instance of this class withefsFileSystem()initialized to the given value.The access control configuration is for an Amazon EFS file system. - Parameters:
- efsFileSystem- The access control configuration is for an Amazon EFS file system.
 
- 
fromEfsFileSystempublic static Configuration fromEfsFileSystem(Consumer<EfsFileSystemConfiguration.Builder> efsFileSystem) Create an instance of this class withefsFileSystem()initialized to the given value.The access control configuration is for an Amazon EFS file system. - Parameters:
- efsFileSystem- The access control configuration is for an Amazon EFS file system.
 
- 
fromKmsKeyCreate an instance of this class withkmsKey()initialized to the given value.The access control configuration is for a KMS key. - Parameters:
- kmsKey- The access control configuration is for a KMS key.
 
- 
fromKmsKeyCreate an instance of this class withkmsKey()initialized to the given value.The access control configuration is for a KMS key. - Parameters:
- kmsKey- The access control configuration is for a KMS key.
 
- 
fromRdsDbClusterSnapshotpublic static Configuration fromRdsDbClusterSnapshot(RdsDbClusterSnapshotConfiguration rdsDbClusterSnapshot) Create an instance of this class withrdsDbClusterSnapshot()initialized to the given value.The access control configuration is for an Amazon RDS DB cluster snapshot. - Parameters:
- rdsDbClusterSnapshot- The access control configuration is for an Amazon RDS DB cluster snapshot.
 
- 
fromRdsDbClusterSnapshotpublic static Configuration fromRdsDbClusterSnapshot(Consumer<RdsDbClusterSnapshotConfiguration.Builder> rdsDbClusterSnapshot) Create an instance of this class withrdsDbClusterSnapshot()initialized to the given value.The access control configuration is for an Amazon RDS DB cluster snapshot. - Parameters:
- rdsDbClusterSnapshot- The access control configuration is for an Amazon RDS DB cluster snapshot.
 
- 
fromRdsDbSnapshotCreate an instance of this class withrdsDbSnapshot()initialized to the given value.The access control configuration is for an Amazon RDS DB snapshot. - Parameters:
- rdsDbSnapshot- The access control configuration is for an Amazon RDS DB snapshot.
 
- 
fromRdsDbSnapshotpublic static Configuration fromRdsDbSnapshot(Consumer<RdsDbSnapshotConfiguration.Builder> rdsDbSnapshot) Create an instance of this class withrdsDbSnapshot()initialized to the given value.The access control configuration is for an Amazon RDS DB snapshot. - Parameters:
- rdsDbSnapshot- The access control configuration is for an Amazon RDS DB snapshot.
 
- 
fromSecretsManagerSecretpublic static Configuration fromSecretsManagerSecret(SecretsManagerSecretConfiguration secretsManagerSecret) Create an instance of this class withsecretsManagerSecret()initialized to the given value.The access control configuration is for a Secrets Manager secret. - Parameters:
- secretsManagerSecret- The access control configuration is for a Secrets Manager secret.
 
- 
fromSecretsManagerSecretpublic static Configuration fromSecretsManagerSecret(Consumer<SecretsManagerSecretConfiguration.Builder> secretsManagerSecret) Create an instance of this class withsecretsManagerSecret()initialized to the given value.The access control configuration is for a Secrets Manager secret. - Parameters:
- secretsManagerSecret- The access control configuration is for a Secrets Manager secret.
 
- 
fromS3BucketCreate an instance of this class withs3Bucket()initialized to the given value.The access control configuration is for an Amazon S3 bucket. - Parameters:
- s3Bucket- The access control configuration is for an Amazon S3 bucket.
 
- 
fromS3BucketCreate an instance of this class withs3Bucket()initialized to the given value.The access control configuration is for an Amazon S3 bucket. - Parameters:
- s3Bucket- The access control configuration is for an Amazon S3 bucket.
 
- 
fromSnsTopicCreate an instance of this class withsnsTopic()initialized to the given value.The access control configuration is for an Amazon SNS topic - Parameters:
- snsTopic- The access control configuration is for an Amazon SNS topic
 
- 
fromSnsTopicCreate an instance of this class withsnsTopic()initialized to the given value.The access control configuration is for an Amazon SNS topic - Parameters:
- snsTopic- The access control configuration is for an Amazon SNS topic
 
- 
fromSqsQueueCreate an instance of this class withsqsQueue()initialized to the given value.The access control configuration is for an Amazon SQS queue. - Parameters:
- sqsQueue- The access control configuration is for an Amazon SQS queue.
 
- 
fromSqsQueueCreate an instance of this class withsqsQueue()initialized to the given value.The access control configuration is for an Amazon SQS queue. - Parameters:
- sqsQueue- The access control configuration is for an Amazon SQS queue.
 
- 
fromS3ExpressDirectoryBucketpublic static Configuration fromS3ExpressDirectoryBucket(S3ExpressDirectoryBucketConfiguration s3ExpressDirectoryBucket) Create an instance of this class withs3ExpressDirectoryBucket()initialized to the given value.The access control configuration is for an Amazon S3 directory bucket. - Parameters:
- s3ExpressDirectoryBucket- The access control configuration is for an Amazon S3 directory bucket.
 
- 
fromS3ExpressDirectoryBucketpublic static Configuration fromS3ExpressDirectoryBucket(Consumer<S3ExpressDirectoryBucketConfiguration.Builder> s3ExpressDirectoryBucket) Create an instance of this class withs3ExpressDirectoryBucket()initialized to the given value.The access control configuration is for an Amazon S3 directory bucket. - Parameters:
- s3ExpressDirectoryBucket- The access control configuration is for an Amazon S3 directory bucket.
 
- 
fromDynamodbStreamCreate an instance of this class withdynamodbStream()initialized to the given value.The access control configuration is for a DynamoDB stream. - Parameters:
- dynamodbStream- The access control configuration is for a DynamoDB stream.
 
- 
fromDynamodbStreampublic static Configuration fromDynamodbStream(Consumer<DynamodbStreamConfiguration.Builder> dynamodbStream) Create an instance of this class withdynamodbStream()initialized to the given value.The access control configuration is for a DynamoDB stream. - Parameters:
- dynamodbStream- The access control configuration is for a DynamoDB stream.
 
- 
fromDynamodbTableCreate an instance of this class withdynamodbTable()initialized to the given value.The access control configuration is for a DynamoDB table or index. - Parameters:
- dynamodbTable- The access control configuration is for a DynamoDB table or index.
 
- 
fromDynamodbTablepublic static Configuration fromDynamodbTable(Consumer<DynamodbTableConfiguration.Builder> dynamodbTable) Create an instance of this class withdynamodbTable()initialized to the given value.The access control configuration is for a DynamoDB table or index. - Parameters:
- dynamodbTable- The access control configuration is for a DynamoDB table or index.
 
- 
typeRetrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beConfiguration.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beConfiguration.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
- 
sdkFields
- 
sdkFieldNameToField- Specified by:
- sdkFieldNameToFieldin interface- SdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
 
 
-