Class CfnApprovedOriginProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnApprovedOriginProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApprovedOriginProps>
- Enclosing interface:
CfnApprovedOriginProps
@Stability(Stable)
public static final class CfnApprovedOriginProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApprovedOriginProps>
A builder for
CfnApprovedOriginProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.instanceId
(String instanceId) Sets the value ofCfnApprovedOriginProps.getInstanceId()
Sets the value ofCfnApprovedOriginProps.getOrigin()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceId
Sets the value ofCfnApprovedOriginProps.getInstanceId()
- Parameters:
instanceId
- The Amazon Resource Name (ARN) of the instance. This parameter is required. Minimum :1
Maximum :
100
- Returns:
this
-
origin
Sets the value ofCfnApprovedOriginProps.getOrigin()
- Parameters:
origin
- Domain name to be added to the allow-list of the instance. This parameter is required. Maximum :267
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApprovedOriginProps>
- Returns:
- a new instance of
CfnApprovedOriginProps
- Throws:
NullPointerException
- if any required attribute was not provided
-