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.BuilderinstanceId(String instanceId) The Amazon Resource Name (ARN) of the instance.instanceId(IInstanceRef instanceId) The Amazon Resource Name (ARN) of the instance.Domain name to be added to the allow-list of the instance.
-
Method Details
-
create
@Stability(Stable) public static CfnApprovedOrigin.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnApprovedOrigin.Builder.
-
instanceId
The Amazon Resource Name (ARN) of the instance.Minimum :
1Maximum :
100- Parameters:
instanceId- The Amazon Resource Name (ARN) of the instance. This parameter is required.- Returns:
this- See Also:
-
instanceId
The Amazon Resource Name (ARN) of the instance.Minimum :
1Maximum :
100- Parameters:
instanceId- The Amazon Resource Name (ARN) of the instance. This parameter is required.- Returns:
this- See Also:
-
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- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApprovedOrigin>- Returns:
- a newly built instance of
CfnApprovedOrigin.
-