Class CfnResourceDefinitionVersionPropsMixin.SecretsManagerSecretResourceDataProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.greengrass.CfnResourceDefinitionVersionPropsMixin.SecretsManagerSecretResourceDataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceDefinitionVersionPropsMixin.SecretsManagerSecretResourceDataProperty>
- Enclosing interface:
CfnResourceDefinitionVersionPropsMixin.SecretsManagerSecretResourceDataProperty
@Stability(Stable)
public static final class CfnResourceDefinitionVersionPropsMixin.SecretsManagerSecretResourceDataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceDefinitionVersionPropsMixin.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 CfnResourceDefinitionVersionPropsMixin.SecretsManagerSecretResourceDataProperty.Builder additionalStagingLabelsToDownload(List<String> additionalStagingLabelsToDownload) Sets the value ofCfnResourceDefinitionVersionPropsMixin.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 CfnResourceDefinitionVersionPropsMixin.SecretsManagerSecretResourceDataProperty.Builder arn(String arn) Sets the value ofCfnResourceDefinitionVersionPropsMixin.SecretsManagerSecretResourceDataProperty.getArn()- 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 CfnResourceDefinitionVersionPropsMixin.SecretsManagerSecretResourceDataProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceDefinitionVersionPropsMixin.SecretsManagerSecretResourceDataProperty>- Returns:
- a new instance of
CfnResourceDefinitionVersionPropsMixin.SecretsManagerSecretResourceDataProperty - Throws:
NullPointerException- if any required attribute was not provided
-