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