Class ProtectConfigurationReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.smsvoice.ProtectConfigurationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ProtectConfigurationReference>
- Enclosing interface:
ProtectConfigurationReference
@Stability(Stable)
public static final class ProtectConfigurationReference.Builder
extends Object
implements software.amazon.jsii.Builder<ProtectConfigurationReference>
A builder for
ProtectConfigurationReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.protectConfigurationArn(String protectConfigurationArn) Sets the value ofProtectConfigurationReference.getProtectConfigurationArn()protectConfigurationId(String protectConfigurationId) Sets the value ofProtectConfigurationReference.getProtectConfigurationId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
protectConfigurationArn
@Stability(Stable) public ProtectConfigurationReference.Builder protectConfigurationArn(String protectConfigurationArn) Sets the value ofProtectConfigurationReference.getProtectConfigurationArn()- Parameters:
protectConfigurationArn- The ARN of the ProtectConfiguration resource. This parameter is required.- Returns:
this
-
protectConfigurationId
@Stability(Stable) public ProtectConfigurationReference.Builder protectConfigurationId(String protectConfigurationId) Sets the value ofProtectConfigurationReference.getProtectConfigurationId()- Parameters:
protectConfigurationId- The ProtectConfigurationId of the ProtectConfiguration resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ProtectConfigurationReference>- Returns:
- a new instance of
ProtectConfigurationReference - Throws:
NullPointerException- if any required attribute was not provided
-