Class CfnApprovedOrigin.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnApprovedOrigin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApprovedOrigin>
- Enclosing class:
CfnApprovedOrigin
@Stability(Stable)
public static final class CfnApprovedOrigin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApprovedOrigin>
A fluent builder for
CfnApprovedOrigin
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnApprovedOrigin.Builder
instanceId
(String instanceId) The Amazon Resource Name (ARN) of the instance.Domain name to be added to the allow-list of the instance.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnApprovedOrigin.Builder
.
-
instanceId
The Amazon Resource Name (ARN) of the instance.Minimum :
1
Maximum :
100
- Parameters:
instanceId
- The Amazon Resource Name (ARN) of the instance. This parameter is required.- Returns:
this
-
origin
Domain name to be added to the allow-list of the instance.Maximum :
267
- Parameters:
origin
- Domain name to be added to the allow-list of the instance. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApprovedOrigin>
- Returns:
- a newly built instance of
CfnApprovedOrigin
.
-