@Generated(value="software.amazon.awssdk:codegen") public final class Configuration extends Object implements SdkPojo, Serializable, 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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Configuration.Builder |
static class |
Configuration.Type |
| Modifier and Type | Method and Description |
|---|---|
static Configuration.Builder |
builder() |
EbsSnapshotConfiguration |
ebsSnapshot()
The access control configuration is for an Amazon EBS volume snapshot.
|
EcrRepositoryConfiguration |
ecrRepository()
The access control configuration is for an Amazon ECR repository.
|
EfsFileSystemConfiguration |
efsFileSystem()
The access control configuration is for an Amazon EFS file system.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static Configuration |
fromEbsSnapshot(Consumer<EbsSnapshotConfiguration.Builder> ebsSnapshot)
Create an instance of this class with
ebsSnapshot() initialized to the given value. |
static Configuration |
fromEbsSnapshot(EbsSnapshotConfiguration ebsSnapshot)
Create an instance of this class with
ebsSnapshot() initialized to the given value. |
static Configuration |
fromEcrRepository(Consumer<EcrRepositoryConfiguration.Builder> ecrRepository)
Create an instance of this class with
ecrRepository() initialized to the given value. |
static Configuration |
fromEcrRepository(EcrRepositoryConfiguration ecrRepository)
Create an instance of this class with
ecrRepository() initialized to the given value. |
static Configuration |
fromEfsFileSystem(Consumer<EfsFileSystemConfiguration.Builder> efsFileSystem)
Create an instance of this class with
efsFileSystem() initialized to the given value. |
static Configuration |
fromEfsFileSystem(EfsFileSystemConfiguration efsFileSystem)
Create an instance of this class with
efsFileSystem() initialized to the given value. |
static Configuration |
fromIamRole(Consumer<IamRoleConfiguration.Builder> iamRole)
Create an instance of this class with
iamRole() initialized to the given value. |
static Configuration |
fromIamRole(IamRoleConfiguration iamRole)
Create an instance of this class with
iamRole() initialized to the given value. |
static Configuration |
fromKmsKey(Consumer<KmsKeyConfiguration.Builder> kmsKey)
Create an instance of this class with
kmsKey() initialized to the given value. |
static Configuration |
fromKmsKey(KmsKeyConfiguration kmsKey)
Create an instance of this class with
kmsKey() initialized to the given value. |
static Configuration |
fromRdsDbClusterSnapshot(Consumer<RdsDbClusterSnapshotConfiguration.Builder> rdsDbClusterSnapshot)
Create an instance of this class with
rdsDbClusterSnapshot() initialized to the given value. |
static Configuration |
fromRdsDbClusterSnapshot(RdsDbClusterSnapshotConfiguration rdsDbClusterSnapshot)
Create an instance of this class with
rdsDbClusterSnapshot() initialized to the given value. |
static Configuration |
fromRdsDbSnapshot(Consumer<RdsDbSnapshotConfiguration.Builder> rdsDbSnapshot)
Create an instance of this class with
rdsDbSnapshot() initialized to the given value. |
static Configuration |
fromRdsDbSnapshot(RdsDbSnapshotConfiguration rdsDbSnapshot)
Create an instance of this class with
rdsDbSnapshot() initialized to the given value. |
static Configuration |
fromS3Bucket(Consumer<S3BucketConfiguration.Builder> s3Bucket)
Create an instance of this class with
s3Bucket() initialized to the given value. |
static Configuration |
fromS3Bucket(S3BucketConfiguration s3Bucket)
Create an instance of this class with
s3Bucket() initialized to the given value. |
static Configuration |
fromSecretsManagerSecret(Consumer<SecretsManagerSecretConfiguration.Builder> secretsManagerSecret)
Create an instance of this class with
secretsManagerSecret() initialized to the given value. |
static Configuration |
fromSecretsManagerSecret(SecretsManagerSecretConfiguration secretsManagerSecret)
Create an instance of this class with
secretsManagerSecret() initialized to the given value. |
static Configuration |
fromSnsTopic(Consumer<SnsTopicConfiguration.Builder> snsTopic)
Create an instance of this class with
snsTopic() initialized to the given value. |
static Configuration |
fromSnsTopic(SnsTopicConfiguration snsTopic)
Create an instance of this class with
snsTopic() initialized to the given value. |
static Configuration |
fromSqsQueue(Consumer<SqsQueueConfiguration.Builder> sqsQueue)
Create an instance of this class with
sqsQueue() initialized to the given value. |
static Configuration |
fromSqsQueue(SqsQueueConfiguration sqsQueue)
Create an instance of this class with
sqsQueue() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
IamRoleConfiguration |
iamRole()
The access control configuration is for an IAM role.
|
KmsKeyConfiguration |
kmsKey()
The access control configuration is for a KMS key.
|
RdsDbClusterSnapshotConfiguration |
rdsDbClusterSnapshot()
The access control configuration is for an Amazon RDS DB cluster snapshot.
|
RdsDbSnapshotConfiguration |
rdsDbSnapshot()
The access control configuration is for an Amazon RDS DB snapshot.
|
S3BucketConfiguration |
s3Bucket()
The access control configuration is for an Amazon S3 Bucket.
|
List<SdkField<?>> |
sdkFields() |
SecretsManagerSecretConfiguration |
secretsManagerSecret()
The access control configuration is for a Secrets Manager secret.
|
static Class<? extends Configuration.Builder> |
serializableBuilderClass() |
SnsTopicConfiguration |
snsTopic()
The access control configuration is for an Amazon SNS topic
|
SqsQueueConfiguration |
sqsQueue()
The access control configuration is for an Amazon SQS queue.
|
Configuration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Configuration.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final EbsSnapshotConfiguration ebsSnapshot()
The access control configuration is for an Amazon EBS volume snapshot.
public final EcrRepositoryConfiguration ecrRepository()
The access control configuration is for an Amazon ECR repository.
public final IamRoleConfiguration iamRole()
The access control configuration is for an IAM role.
public final EfsFileSystemConfiguration efsFileSystem()
The access control configuration is for an Amazon EFS file system.
public final KmsKeyConfiguration kmsKey()
The access control configuration is for a KMS key.
public final RdsDbClusterSnapshotConfiguration rdsDbClusterSnapshot()
The access control configuration is for an Amazon RDS DB cluster snapshot.
public final RdsDbSnapshotConfiguration rdsDbSnapshot()
The access control configuration is for an Amazon RDS DB snapshot.
public final SecretsManagerSecretConfiguration secretsManagerSecret()
The access control configuration is for a Secrets Manager secret.
public final S3BucketConfiguration s3Bucket()
The access control configuration is for an Amazon S3 Bucket.
public final SnsTopicConfiguration snsTopic()
The access control configuration is for an Amazon SNS topic
public final SqsQueueConfiguration sqsQueue()
The access control configuration is for an Amazon SQS queue.
public Configuration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Configuration.Builder,Configuration>public static Configuration.Builder builder()
public static Class<? extends Configuration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static Configuration fromEbsSnapshot(EbsSnapshotConfiguration ebsSnapshot)
ebsSnapshot() initialized to the given value.
The access control configuration is for an Amazon EBS volume snapshot.
ebsSnapshot - The access control configuration is for an Amazon EBS volume snapshot.public static Configuration fromEbsSnapshot(Consumer<EbsSnapshotConfiguration.Builder> ebsSnapshot)
ebsSnapshot() initialized to the given value.
The access control configuration is for an Amazon EBS volume snapshot.
ebsSnapshot - The access control configuration is for an Amazon EBS volume snapshot.public static Configuration fromEcrRepository(EcrRepositoryConfiguration ecrRepository)
ecrRepository() initialized to the given value.
The access control configuration is for an Amazon ECR repository.
ecrRepository - The access control configuration is for an Amazon ECR repository.public static Configuration fromEcrRepository(Consumer<EcrRepositoryConfiguration.Builder> ecrRepository)
ecrRepository() initialized to the given value.
The access control configuration is for an Amazon ECR repository.
ecrRepository - The access control configuration is for an Amazon ECR repository.public static Configuration fromIamRole(IamRoleConfiguration iamRole)
iamRole() initialized to the given value.
The access control configuration is for an IAM role.
iamRole - The access control configuration is for an IAM role.public static Configuration fromIamRole(Consumer<IamRoleConfiguration.Builder> iamRole)
iamRole() initialized to the given value.
The access control configuration is for an IAM role.
iamRole - The access control configuration is for an IAM role.public static Configuration fromEfsFileSystem(EfsFileSystemConfiguration efsFileSystem)
efsFileSystem() initialized to the given value.
The access control configuration is for an Amazon EFS file system.
efsFileSystem - The access control configuration is for an Amazon EFS file system.public static Configuration fromEfsFileSystem(Consumer<EfsFileSystemConfiguration.Builder> efsFileSystem)
efsFileSystem() initialized to the given value.
The access control configuration is for an Amazon EFS file system.
efsFileSystem - The access control configuration is for an Amazon EFS file system.public static Configuration fromKmsKey(KmsKeyConfiguration kmsKey)
kmsKey() initialized to the given value.
The access control configuration is for a KMS key.
kmsKey - The access control configuration is for a KMS key.public static Configuration fromKmsKey(Consumer<KmsKeyConfiguration.Builder> kmsKey)
kmsKey() initialized to the given value.
The access control configuration is for a KMS key.
kmsKey - The access control configuration is for a KMS key.public static Configuration fromRdsDbClusterSnapshot(RdsDbClusterSnapshotConfiguration rdsDbClusterSnapshot)
rdsDbClusterSnapshot() initialized to the given value.
The access control configuration is for an Amazon RDS DB cluster snapshot.
rdsDbClusterSnapshot - The access control configuration is for an Amazon RDS DB cluster snapshot.public static Configuration fromRdsDbClusterSnapshot(Consumer<RdsDbClusterSnapshotConfiguration.Builder> rdsDbClusterSnapshot)
rdsDbClusterSnapshot() initialized to the given value.
The access control configuration is for an Amazon RDS DB cluster snapshot.
rdsDbClusterSnapshot - The access control configuration is for an Amazon RDS DB cluster snapshot.public static Configuration fromRdsDbSnapshot(RdsDbSnapshotConfiguration rdsDbSnapshot)
rdsDbSnapshot() initialized to the given value.
The access control configuration is for an Amazon RDS DB snapshot.
rdsDbSnapshot - The access control configuration is for an Amazon RDS DB snapshot.public static Configuration fromRdsDbSnapshot(Consumer<RdsDbSnapshotConfiguration.Builder> rdsDbSnapshot)
rdsDbSnapshot() initialized to the given value.
The access control configuration is for an Amazon RDS DB snapshot.
rdsDbSnapshot - The access control configuration is for an Amazon RDS DB snapshot.public static Configuration fromSecretsManagerSecret(SecretsManagerSecretConfiguration secretsManagerSecret)
secretsManagerSecret() initialized to the given value.
The access control configuration is for a Secrets Manager secret.
secretsManagerSecret - The access control configuration is for a Secrets Manager secret.public static Configuration fromSecretsManagerSecret(Consumer<SecretsManagerSecretConfiguration.Builder> secretsManagerSecret)
secretsManagerSecret() initialized to the given value.
The access control configuration is for a Secrets Manager secret.
secretsManagerSecret - The access control configuration is for a Secrets Manager secret.public static Configuration fromS3Bucket(S3BucketConfiguration s3Bucket)
s3Bucket() initialized to the given value.
The access control configuration is for an Amazon S3 Bucket.
s3Bucket - The access control configuration is for an Amazon S3 Bucket.public static Configuration fromS3Bucket(Consumer<S3BucketConfiguration.Builder> s3Bucket)
s3Bucket() initialized to the given value.
The access control configuration is for an Amazon S3 Bucket.
s3Bucket - The access control configuration is for an Amazon S3 Bucket.public static Configuration fromSnsTopic(SnsTopicConfiguration snsTopic)
snsTopic() initialized to the given value.
The access control configuration is for an Amazon SNS topic
snsTopic - The access control configuration is for an Amazon SNS topicpublic static Configuration fromSnsTopic(Consumer<SnsTopicConfiguration.Builder> snsTopic)
snsTopic() initialized to the given value.
The access control configuration is for an Amazon SNS topic
snsTopic - The access control configuration is for an Amazon SNS topicpublic static Configuration fromSqsQueue(SqsQueueConfiguration sqsQueue)
sqsQueue() initialized to the given value.
The access control configuration is for an Amazon SQS queue.
sqsQueue - The access control configuration is for an Amazon SQS queue.public static Configuration fromSqsQueue(Consumer<SqsQueueConfiguration.Builder> sqsQueue)
sqsQueue() initialized to the given value.
The access control configuration is for an Amazon SQS queue.
sqsQueue - The access control configuration is for an Amazon SQS queue.public Configuration.Type type()
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 be Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.