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 Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic enum -
Method Summary
Modifier 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.ToCopyableBuilder
copy
-
Method Details
-
ebsSnapshot
The access control configuration is for an Amazon EBS volume snapshot.
- Returns:
- The access control configuration is for an Amazon EBS volume snapshot.
-
ecrRepository
The access control configuration is for an Amazon ECR repository.
- Returns:
- The access control configuration is for an Amazon ECR repository.
-
iamRole
The access control configuration is for an IAM role.
- Returns:
- The access control configuration is for an IAM role.
-
efsFileSystem
The access control configuration is for an Amazon EFS file system.
- Returns:
- The access control configuration is for an Amazon EFS file system.
-
kmsKey
The access control configuration is for a KMS key.
- Returns:
- The access control configuration is for a KMS key.
-
rdsDbClusterSnapshot
The access control configuration is for an Amazon RDS DB cluster snapshot.
- Returns:
- The access control configuration is for an Amazon RDS DB cluster snapshot.
-
rdsDbSnapshot
The access control configuration is for an Amazon RDS DB snapshot.
- Returns:
- The access control configuration is for an Amazon RDS DB snapshot.
-
secretsManagerSecret
The access control configuration is for a Secrets Manager secret.
- Returns:
- The access control configuration is for a Secrets Manager secret.
-
s3Bucket
The access control configuration is for an Amazon S3 bucket.
- Returns:
- The access control configuration is for an Amazon S3 bucket.
-
snsTopic
The access control configuration is for an Amazon SNS topic
- Returns:
- The access control configuration is for an Amazon SNS topic
-
sqsQueue
The access control configuration is for an Amazon SQS queue.
- Returns:
- The access control configuration is for an Amazon SQS queue.
-
s3ExpressDirectoryBucket
The access control configuration is for an Amazon S3 directory bucket.
- Returns:
- The access control configuration is for an Amazon S3 directory bucket.
-
dynamodbStream
The access control configuration is for a DynamoDB stream.
- Returns:
- The access control configuration is for a DynamoDB stream.
-
dynamodbTable
The access control configuration is for a DynamoDB table or index.
- Returns:
- The access control configuration is for a DynamoDB table or index.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Configuration.Builder,Configuration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description 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 interfaceSdkPojo- 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
-
fromEbsSnapshot
Create 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.
-
fromEbsSnapshot
Create 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.
-
fromEcrRepository
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.
-
fromEcrRepository
public 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.
-
fromIamRole
Create 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.
-
fromIamRole
Create 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.
-
fromEfsFileSystem
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.
-
fromEfsFileSystem
public 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.
-
fromKmsKey
Create 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.
-
fromKmsKey
Create 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.
-
fromRdsDbClusterSnapshot
public 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.
-
fromRdsDbClusterSnapshot
public 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.
-
fromRdsDbSnapshot
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.
-
fromRdsDbSnapshot
public 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.
-
fromSecretsManagerSecret
public 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.
-
fromSecretsManagerSecret
public 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.
-
fromS3Bucket
Create 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.
-
fromS3Bucket
Create 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.
-
fromSnsTopic
Create 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
-
fromSnsTopic
Create 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
-
fromSqsQueue
Create 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.
-
fromSqsQueue
Create 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.
-
fromS3ExpressDirectoryBucket
public 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.
-
fromS3ExpressDirectoryBucket
public 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.
-
fromDynamodbStream
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.
-
fromDynamodbStream
public 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.
-
fromDynamodbTable
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.
-
fromDynamodbTable
public 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.
-
type
Retrieve 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
-