Interface MultiRegionConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MultiRegionConfiguration.Builder,MultiRegionConfiguration>,SdkBuilder<MultiRegionConfiguration.Builder,MultiRegionConfiguration>,SdkPojo
- Enclosing class:
- MultiRegionConfiguration
public static interface MultiRegionConfiguration.Builder extends SdkPojo, CopyableBuilder<MultiRegionConfiguration.Builder,MultiRegionConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MultiRegionConfiguration.BuildermultiRegionKeyType(String multiRegionKeyType)Indicates whether the KMS key is aPRIMARYorREPLICAkey.MultiRegionConfiguration.BuildermultiRegionKeyType(MultiRegionKeyType multiRegionKeyType)Indicates whether the KMS key is aPRIMARYorREPLICAkey.default MultiRegionConfiguration.BuilderprimaryKey(Consumer<MultiRegionKey.Builder> primaryKey)Displays the key ARN and Region of the primary key.MultiRegionConfiguration.BuilderprimaryKey(MultiRegionKey primaryKey)Displays the key ARN and Region of the primary key.MultiRegionConfiguration.BuilderreplicaKeys(Collection<MultiRegionKey> replicaKeys)displays the key ARNs and Regions of all replica keys.MultiRegionConfiguration.BuilderreplicaKeys(Consumer<MultiRegionKey.Builder>... replicaKeys)displays the key ARNs and Regions of all replica keys.MultiRegionConfiguration.BuilderreplicaKeys(MultiRegionKey... replicaKeys)displays the key ARNs and Regions of all replica keys.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
multiRegionKeyType
MultiRegionConfiguration.Builder multiRegionKeyType(String multiRegionKeyType)
Indicates whether the KMS key is a
PRIMARYorREPLICAkey.- Parameters:
multiRegionKeyType- Indicates whether the KMS key is aPRIMARYorREPLICAkey.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MultiRegionKeyType,MultiRegionKeyType
-
multiRegionKeyType
MultiRegionConfiguration.Builder multiRegionKeyType(MultiRegionKeyType multiRegionKeyType)
Indicates whether the KMS key is a
PRIMARYorREPLICAkey.- Parameters:
multiRegionKeyType- Indicates whether the KMS key is aPRIMARYorREPLICAkey.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MultiRegionKeyType,MultiRegionKeyType
-
primaryKey
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.
- Parameters:
primaryKey- Displays the key ARN and Region of the primary key. This field includes the current KMS key if it is the primary key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primaryKey
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.Builderavoiding the need to create one manually viaMultiRegionKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprimaryKey(MultiRegionKey).- Parameters:
primaryKey- a consumer that will call methods onMultiRegionKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
primaryKey(MultiRegionKey)
-
replicaKeys
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.
- Parameters:
replicaKeys- displays the key ARNs and Regions of all replica keys. This field includes the current KMS key if it is a replica key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaKeys
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.
- Parameters:
replicaKeys- displays the key ARNs and Regions of all replica keys. This field includes the current KMS key if it is a replica key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaKeys
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.Builderavoiding the need to create one manually viaMultiRegionKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#replicaKeys(List.) - Parameters:
replicaKeys- a consumer that will call methods onMultiRegionKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#replicaKeys(java.util.Collection)
-
-