Class SecurityKeyReference.Builder
java.lang.Object
software.amazon.awscdk.services.connect.SecurityKeyReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SecurityKeyReference>
- Enclosing interface:
SecurityKeyReference
@Stability(Stable)
public static final class SecurityKeyReference.Builder
extends Object
implements software.amazon.jsii.Builder<SecurityKeyReference>
A builder for
SecurityKeyReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassociationId
(String associationId) Sets the value ofSecurityKeyReference.getAssociationId()
build()
Builds the configured instance.instanceId
(String instanceId) Sets the value ofSecurityKeyReference.getInstanceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
associationId
Sets the value ofSecurityKeyReference.getAssociationId()
- Parameters:
associationId
- The AssociationId of the SecurityKey resource. This parameter is required.- Returns:
this
-
instanceId
Sets the value ofSecurityKeyReference.getInstanceId()
- Parameters:
instanceId
- The InstanceId of the SecurityKey resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<SecurityKeyReference>
- Returns:
- a new instance of
SecurityKeyReference
- Throws:
NullPointerException
- if any required attribute was not provided
-