Class SecretTargetAttachmentReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.secretsmanager.SecretTargetAttachmentReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SecretTargetAttachmentReference>
- Enclosing interface:
SecretTargetAttachmentReference
@Stability(Stable)
public static final class SecretTargetAttachmentReference.Builder
extends Object
implements software.amazon.jsii.Builder<SecretTargetAttachmentReference>
A builder for
SecretTargetAttachmentReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.secretTargetAttachmentId(String secretTargetAttachmentId) Sets the value ofSecretTargetAttachmentReference.getSecretTargetAttachmentId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
secretTargetAttachmentId
@Stability(Stable) public SecretTargetAttachmentReference.Builder secretTargetAttachmentId(String secretTargetAttachmentId) Sets the value ofSecretTargetAttachmentReference.getSecretTargetAttachmentId()- Parameters:
secretTargetAttachmentId- The Id of the SecretTargetAttachment resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SecretTargetAttachmentReference>- Returns:
- a new instance of
SecretTargetAttachmentReference - Throws:
NullPointerException- if any required attribute was not provided
-