Class AttachedSecretOptions.Builder
java.lang.Object
software.amazon.awscdk.services.secretsmanager.AttachedSecretOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AttachedSecretOptions>
- Enclosing interface:
AttachedSecretOptions
@Stability(Stable)
public static final class AttachedSecretOptions.Builder
extends Object
implements software.amazon.jsii.Builder<AttachedSecretOptions>
A builder for
AttachedSecretOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.target
(ISecretAttachmentTarget target) Sets the value ofAttachedSecretOptions.getTarget()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
target
Sets the value ofAttachedSecretOptions.getTarget()
- Parameters:
target
- The target to attach the secret to. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AttachedSecretOptions>
- Returns:
- a new instance of
AttachedSecretOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-