Class CfnResourceDefinitionPropsMixin.SecretsManagerSecretResourceDataProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.greengrass.CfnResourceDefinitionPropsMixin.SecretsManagerSecretResourceDataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceDefinitionPropsMixin.SecretsManagerSecretResourceDataProperty>
- Enclosing interface:
CfnResourceDefinitionPropsMixin.SecretsManagerSecretResourceDataProperty
@Stability(Stable)
public static final class CfnResourceDefinitionPropsMixin.SecretsManagerSecretResourceDataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceDefinitionPropsMixin.SecretsManagerSecretResourceDataProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalStagingLabelsToDownload(List<String> additionalStagingLabelsToDownload) build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalStagingLabelsToDownload
@Stability(Stable) public CfnResourceDefinitionPropsMixin.SecretsManagerSecretResourceDataProperty.Builder additionalStagingLabelsToDownload(List<String> additionalStagingLabelsToDownload) Sets the value ofCfnResourceDefinitionPropsMixin.SecretsManagerSecretResourceDataProperty.getAdditionalStagingLabelsToDownload()- Parameters:
additionalStagingLabelsToDownload- The staging labels whose values you want to make available on the core, in addition toAWSCURRENT.- Returns:
this
-
arn
@Stability(Stable) public CfnResourceDefinitionPropsMixin.SecretsManagerSecretResourceDataProperty.Builder arn(String arn) - Parameters:
arn- The Amazon Resource Name (ARN) of the Secrets Manager secret to make available on the core. The value of the secret's latest version (represented by theAWSCURRENTstaging label) is included by default.- Returns:
this
-
build
@Stability(Stable) public CfnResourceDefinitionPropsMixin.SecretsManagerSecretResourceDataProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceDefinitionPropsMixin.SecretsManagerSecretResourceDataProperty>- Returns:
- a new instance of
CfnResourceDefinitionPropsMixin.SecretsManagerSecretResourceDataProperty - Throws:
NullPointerException- if any required attribute was not provided
-