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
Modifier and TypeClassDescriptionstatic interface
static enum
-
Method Summary
Modifier and TypeMethodDescriptionstatic Configuration.Builder
builder()
The access control configuration is for a DynamoDB stream.The access control configuration is for a DynamoDB table or index.final EbsSnapshotConfiguration
The 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 boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.static Configuration
fromDynamodbStream
(Consumer<DynamodbStreamConfiguration.Builder> dynamodbStream) Create an instance of this class withdynamodbStream()
initialized to the given value.static Configuration
fromDynamodbStream
(DynamodbStreamConfiguration dynamodbStream) Create an instance of this class withdynamodbStream()
initialized to the given value.static Configuration
fromDynamodbTable
(Consumer<DynamodbTableConfiguration.Builder> dynamodbTable) Create an instance of this class withdynamodbTable()
initialized to the given value.static Configuration
fromDynamodbTable
(DynamodbTableConfiguration dynamodbTable) Create an instance of this class withdynamodbTable()
initialized to the given value.static Configuration
fromEbsSnapshot
(Consumer<EbsSnapshotConfiguration.Builder> ebsSnapshot) Create an instance of this class withebsSnapshot()
initialized to the given value.static Configuration
fromEbsSnapshot
(EbsSnapshotConfiguration ebsSnapshot) Create an instance of this class withebsSnapshot()
initialized to the given value.static Configuration
fromEcrRepository
(Consumer<EcrRepositoryConfiguration.Builder> ecrRepository) Create an instance of this class withecrRepository()
initialized to the given value.static Configuration
fromEcrRepository
(EcrRepositoryConfiguration ecrRepository) Create an instance of this class withecrRepository()
initialized to the given value.static Configuration
fromEfsFileSystem
(Consumer<EfsFileSystemConfiguration.Builder> efsFileSystem) Create an instance of this class withefsFileSystem()
initialized to the given value.static Configuration
fromEfsFileSystem
(EfsFileSystemConfiguration efsFileSystem) Create an instance of this class withefsFileSystem()
initialized to the given value.static Configuration
fromIamRole
(Consumer<IamRoleConfiguration.Builder> iamRole) Create an instance of this class withiamRole()
initialized to the given value.static Configuration
fromIamRole
(IamRoleConfiguration iamRole) Create an instance of this class withiamRole()
initialized to the given value.static Configuration
Create an instance of this class withkmsKey()
initialized to the given value.static Configuration
fromKmsKey
(KmsKeyConfiguration kmsKey) Create an instance of this class withkmsKey()
initialized to the given value.static Configuration
fromRdsDbClusterSnapshot
(Consumer<RdsDbClusterSnapshotConfiguration.Builder> rdsDbClusterSnapshot) Create an instance of this class withrdsDbClusterSnapshot()
initialized to the given value.static Configuration
fromRdsDbClusterSnapshot
(RdsDbClusterSnapshotConfiguration rdsDbClusterSnapshot) Create an instance of this class withrdsDbClusterSnapshot()
initialized to the given value.static Configuration
fromRdsDbSnapshot
(Consumer<RdsDbSnapshotConfiguration.Builder> rdsDbSnapshot) Create an instance of this class withrdsDbSnapshot()
initialized to the given value.static Configuration
fromRdsDbSnapshot
(RdsDbSnapshotConfiguration rdsDbSnapshot) Create an instance of this class withrdsDbSnapshot()
initialized to the given value.static Configuration
fromS3Bucket
(Consumer<S3BucketConfiguration.Builder> s3Bucket) Create an instance of this class withs3Bucket()
initialized to the given value.static Configuration
fromS3Bucket
(S3BucketConfiguration s3Bucket) Create an instance of this class withs3Bucket()
initialized to the given value.static Configuration
fromS3ExpressDirectoryBucket
(Consumer<S3ExpressDirectoryBucketConfiguration.Builder> s3ExpressDirectoryBucket) Create an instance of this class withs3ExpressDirectoryBucket()
initialized to the given value.static Configuration
fromS3ExpressDirectoryBucket
(S3ExpressDirectoryBucketConfiguration s3ExpressDirectoryBucket) Create an instance of this class withs3ExpressDirectoryBucket()
initialized to the given value.static Configuration
fromSecretsManagerSecret
(Consumer<SecretsManagerSecretConfiguration.Builder> secretsManagerSecret) Create an instance of this class withsecretsManagerSecret()
initialized to the given value.static Configuration
fromSecretsManagerSecret
(SecretsManagerSecretConfiguration secretsManagerSecret) Create an instance of this class withsecretsManagerSecret()
initialized to the given value.static Configuration
fromSnsTopic
(Consumer<SnsTopicConfiguration.Builder> snsTopic) Create an instance of this class withsnsTopic()
initialized to the given value.static Configuration
fromSnsTopic
(SnsTopicConfiguration snsTopic) Create an instance of this class withsnsTopic()
initialized to the given value.static Configuration
fromSqsQueue
(Consumer<SqsQueueConfiguration.Builder> sqsQueue) Create an instance of this class withsqsQueue()
initialized to the given value.static Configuration
fromSqsQueue
(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 int
hashCode()
final IamRoleConfiguration
iamRole()
The access control configuration is for an IAM role.final KmsKeyConfiguration
kmsKey()
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 S3BucketConfiguration
s3Bucket()
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 SnsTopicConfiguration
snsTopic()
The access control configuration is for an Amazon SNS topicfinal SqsQueueConfiguration
sqsQueue()
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 String
toString()
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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<Configuration.Builder,
Configuration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
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_VERSION
if 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_VERSION
if zero members are set, andnull
if more than one member is set. -
sdkFields
-