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