Class CfnCrossAccountAttachmentPropsMixin.ResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.globalaccelerator.CfnCrossAccountAttachmentPropsMixin.ResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCrossAccountAttachmentPropsMixin.ResourceProperty>
- Enclosing interface:
CfnCrossAccountAttachmentPropsMixin.ResourceProperty
@Stability(Stable)
public static final class CfnCrossAccountAttachmentPropsMixin.ResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCrossAccountAttachmentPropsMixin.ResourceProperty>
A builder for
CfnCrossAccountAttachmentPropsMixin.ResourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCrossAccountAttachmentPropsMixin.ResourceProperty.getCidr()endpointId(String endpointId) Sets the value ofCfnCrossAccountAttachmentPropsMixin.ResourceProperty.getEndpointId()Sets the value ofCfnCrossAccountAttachmentPropsMixin.ResourceProperty.getRegion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cidr
@Stability(Stable) public CfnCrossAccountAttachmentPropsMixin.ResourceProperty.Builder cidr(String cidr) Sets the value ofCfnCrossAccountAttachmentPropsMixin.ResourceProperty.getCidr()- Parameters:
cidr- An IP address range, in CIDR format, that is specified as resource. The address must be provisioned and advertised in AWS Global Accelerator by following the bring your own IP address (BYOIP) process for Global AcceleratorFor more information, see Bring your own IP addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
- Returns:
this
-
endpointId
@Stability(Stable) public CfnCrossAccountAttachmentPropsMixin.ResourceProperty.Builder endpointId(String endpointId) Sets the value ofCfnCrossAccountAttachmentPropsMixin.ResourceProperty.getEndpointId()- Parameters:
endpointId- The endpoint ID for the endpoint that is specified as a AWS resource. An endpoint ID for the cross-account feature is the ARN of an AWS resource, such as a Network Load Balancer, that Global Accelerator supports as an endpoint for an accelerator.- Returns:
this
-
region
@Stability(Stable) public CfnCrossAccountAttachmentPropsMixin.ResourceProperty.Builder region(String region) Sets the value ofCfnCrossAccountAttachmentPropsMixin.ResourceProperty.getRegion()- Parameters:
region- The AWS Region where a shared endpoint resource is located.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCrossAccountAttachmentPropsMixin.ResourceProperty>- Returns:
- a new instance of
CfnCrossAccountAttachmentPropsMixin.ResourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-