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, sdkFieldscopyapplyMutation, buildMultiRegionConfiguration.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,
MultiRegionKeyTypeMultiRegionConfiguration.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,
MultiRegionKeyTypeMultiRegionConfiguration.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.BuilderprimaryKey(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 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 #replicaKeys(List.
replicaKeys - a consumer that will call methods on
MultiRegionKey.Builder#replicaKeys(java.util.Collection) Copyright © 2023. All rights reserved.