Class SecurityProfileReference.Builder
java.lang.Object
software.amazon.awscdk.services.iot.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()
securityProfileName
(String securityProfileName) Sets the value ofSecurityProfileReference.getSecurityProfileName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityProfileArn
@Stability(Stable) public SecurityProfileReference.Builder securityProfileArn(String securityProfileArn) Sets the value ofSecurityProfileReference.getSecurityProfileArn()
- Parameters:
securityProfileArn
- The ARN of the SecurityProfile resource. This parameter is required.- Returns:
this
-
securityProfileName
@Stability(Stable) public SecurityProfileReference.Builder securityProfileName(String securityProfileName) Sets the value ofSecurityProfileReference.getSecurityProfileName()
- Parameters:
securityProfileName
- The SecurityProfileName 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
-