Class CfnRotationSchedule.ExternalSecretRotationMetadataItemProperty.Builder
java.lang.Object
software.amazon.awscdk.services.secretsmanager.CfnRotationSchedule.ExternalSecretRotationMetadataItemProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRotationSchedule.ExternalSecretRotationMetadataItemProperty>
- Enclosing interface:
CfnRotationSchedule.ExternalSecretRotationMetadataItemProperty
@Stability(Stable)
public static final class CfnRotationSchedule.ExternalSecretRotationMetadataItemProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRotationSchedule.ExternalSecretRotationMetadataItemProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRotationSchedule.ExternalSecretRotationMetadataItemProperty.getKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
@Stability(Stable) public CfnRotationSchedule.ExternalSecretRotationMetadataItemProperty.Builder key(String key) Sets the value ofCfnRotationSchedule.ExternalSecretRotationMetadataItemProperty.getKey()- Parameters:
key- The key that identifies the item. This parameter is required.- Returns:
this
-
value
@Stability(Stable) public CfnRotationSchedule.ExternalSecretRotationMetadataItemProperty.Builder value(String value) - Parameters:
value- The value of the specified item. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRotationSchedule.ExternalSecretRotationMetadataItemProperty>- Returns:
- a new instance of
CfnRotationSchedule.ExternalSecretRotationMetadataItemProperty - Throws:
NullPointerException- if any required attribute was not provided
-