public static final class SecretAttachmentTargetProps.Builder
extends java.lang.Object
SecretAttachmentTargetProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SecretAttachmentTargetProps |
build()
Builds the configured instance.
|
SecretAttachmentTargetProps.Builder |
targetId(java.lang.String targetId)
Sets the value of
SecretAttachmentTargetProps.getTargetId() |
SecretAttachmentTargetProps.Builder |
targetType(AttachmentTargetType targetType)
Sets the value of
SecretAttachmentTargetProps.getTargetType() |
public SecretAttachmentTargetProps.Builder targetId(java.lang.String targetId)
SecretAttachmentTargetProps.getTargetId()
targetId
- The id of the target to attach the secret to. This parameter is required.this
public SecretAttachmentTargetProps.Builder targetType(AttachmentTargetType targetType)
SecretAttachmentTargetProps.getTargetType()
targetType
- The type of the target to attach the secret to. This parameter is required.this
public SecretAttachmentTargetProps build()
SecretAttachmentTargetProps
java.lang.NullPointerException
- if any required attribute was not provided