Class CfnKey.ReplicationStatusTypeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.paymentcryptography.CfnKey.ReplicationStatusTypeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKey.ReplicationStatusTypeProperty>
- Enclosing interface:
CfnKey.ReplicationStatusTypeProperty
@Stability(Stable)
public static final class CfnKey.ReplicationStatusTypeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKey.ReplicationStatusTypeProperty>
A builder for
CfnKey.ReplicationStatusTypeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnKey.ReplicationStatusTypeProperty.getStatus()statusMessage(String statusMessage) Sets the value ofCfnKey.ReplicationStatusTypeProperty.getStatusMessage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
status
Sets the value ofCfnKey.ReplicationStatusTypeProperty.getStatus()- Parameters:
status- The current status of key replication in this AWS Region . This parameter is required. This field indicates whether the key replication is in progress, completed successfully, or has encountered an error. Possible values include states such asSYNCRHONIZED,IN_PROGRESS,DELETE_IN_PROGRESS, orFAILED. This provides visibility into the replication process for monitoring and troubleshooting purposes.- Returns:
this
-
statusMessage
@Stability(Stable) public CfnKey.ReplicationStatusTypeProperty.Builder statusMessage(String statusMessage) Sets the value ofCfnKey.ReplicationStatusTypeProperty.getStatusMessage()- Parameters:
statusMessage- A message that provides additional information about the current replication status of the key. This field contains details about any issues or progress updates related to key replication operations. It may include information about replication failures, synchronization status, or other operational details.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKey.ReplicationStatusTypeProperty>- Returns:
- a new instance of
CfnKey.ReplicationStatusTypeProperty - Throws:
NullPointerException- if any required attribute was not provided
-