public static final class SecretTargetAttachmentProps.Builder
extends java.lang.Object
SecretTargetAttachmentProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SecretTargetAttachmentProps |
build()
Builds the configured instance.
|
SecretTargetAttachmentProps.Builder |
secret(ISecret secret)
Sets the value of
SecretTargetAttachmentProps.getSecret() |
SecretTargetAttachmentProps.Builder |
target(ISecretAttachmentTarget target)
Sets the value of
AttachedSecretOptions.getTarget() |
public SecretTargetAttachmentProps.Builder secret(ISecret secret)
SecretTargetAttachmentProps.getSecret()
secret
- The secret to attach to the target. This parameter is required.this
public SecretTargetAttachmentProps.Builder target(ISecretAttachmentTarget target)
AttachedSecretOptions.getTarget()
target
- The target to attach the secret to. This parameter is required.this
public SecretTargetAttachmentProps build()
SecretTargetAttachmentProps
java.lang.NullPointerException
- if any required attribute was not provided