public static interface MultiRegionConfiguration.Builder extends SdkPojo, CopyableBuilder<MultiRegionConfiguration.Builder,MultiRegionConfiguration>
Modifier and Type | Method and Description |
---|---|
MultiRegionConfiguration.Builder |
multiRegionKeyType(MultiRegionKeyType multiRegionKeyType)
Indicates whether the KMS key is a
PRIMARY or REPLICA key. |
MultiRegionConfiguration.Builder |
multiRegionKeyType(String multiRegionKeyType)
Indicates whether the KMS key is a
PRIMARY or REPLICA key. |
default MultiRegionConfiguration.Builder |
primaryKey(Consumer<MultiRegionKey.Builder> primaryKey)
Displays the key ARN and Region of the primary key.
|
MultiRegionConfiguration.Builder |
primaryKey(MultiRegionKey primaryKey)
Displays the key ARN and Region of the primary key.
|
MultiRegionConfiguration.Builder |
replicaKeys(Collection<MultiRegionKey> replicaKeys)
displays the key ARNs and Regions of all replica keys.
|
MultiRegionConfiguration.Builder |
replicaKeys(Consumer<MultiRegionKey.Builder>... replicaKeys)
displays the key ARNs and Regions of all replica keys.
|
MultiRegionConfiguration.Builder |
replicaKeys(MultiRegionKey... replicaKeys)
displays the key ARNs and Regions of all replica keys.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
MultiRegionConfiguration.Builder multiRegionKeyType(String multiRegionKeyType)
Indicates whether the KMS key is a PRIMARY
or REPLICA
key.
multiRegionKeyType
- Indicates whether the KMS key is a PRIMARY
or REPLICA
key.MultiRegionKeyType
,
MultiRegionKeyType
MultiRegionConfiguration.Builder multiRegionKeyType(MultiRegionKeyType multiRegionKeyType)
Indicates whether the KMS key is a PRIMARY
or REPLICA
key.
multiRegionKeyType
- Indicates whether the KMS key is a PRIMARY
or REPLICA
key.MultiRegionKeyType
,
MultiRegionKeyType
MultiRegionConfiguration.Builder primaryKey(MultiRegionKey primaryKey)
Displays the key ARN and Region of the primary key. This field includes the current KMS key if it is the primary key.
primaryKey
- Displays the key ARN and Region of the primary key. This field includes the current KMS key if it is
the primary key.default MultiRegionConfiguration.Builder primaryKey(Consumer<MultiRegionKey.Builder> primaryKey)
Displays the key ARN and Region of the primary key. This field includes the current KMS key if it is the primary key.
This is a convenience method that creates an instance of theMultiRegionKey.Builder
avoiding the need
to create one manually via MultiRegionKey.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to primaryKey(MultiRegionKey)
.primaryKey
- a consumer that will call methods on MultiRegionKey.Builder
primaryKey(MultiRegionKey)
MultiRegionConfiguration.Builder replicaKeys(Collection<MultiRegionKey> replicaKeys)
displays the key ARNs and Regions of all replica keys. This field includes the current KMS key if it is a replica key.
replicaKeys
- displays the key ARNs and Regions of all replica keys. This field includes the current KMS key if it
is a replica key.MultiRegionConfiguration.Builder replicaKeys(MultiRegionKey... replicaKeys)
displays the key ARNs and Regions of all replica keys. This field includes the current KMS key if it is a replica key.
replicaKeys
- displays the key ARNs and Regions of all replica keys. This field includes the current KMS key if it
is a replica key.MultiRegionConfiguration.Builder replicaKeys(Consumer<MultiRegionKey.Builder>... replicaKeys)
displays the key ARNs and Regions of all replica keys. This field includes the current KMS key if it is a replica key.
This is a convenience method that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #replicaKeys(List)
.replicaKeys
- a consumer that will call methods on List.Builder
#replicaKeys(List)
Copyright © 2022. All rights reserved.