Class CfnCrossAccountAttachmentPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.globalaccelerator.CfnCrossAccountAttachmentPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCrossAccountAttachmentPropsMixin>
- Enclosing class:
CfnCrossAccountAttachmentPropsMixin
@Stability(Stable)
public static final class CfnCrossAccountAttachmentPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCrossAccountAttachmentPropsMixin>
A fluent builder for
CfnCrossAccountAttachmentPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) The name of the cross-account attachment.principals(List<String> principals) The principals included in the cross-account attachment.The resources included in the cross-account attachment.resources(IResolvable resources) The resources included in the cross-account attachment.Add tags for a cross-account attachment.
-
Method Details
-
create
@Stability(Stable) public static CfnCrossAccountAttachmentPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnCrossAccountAttachmentPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnCrossAccountAttachmentPropsMixin.Builder.
-
name
The name of the cross-account attachment.- Parameters:
name- The name of the cross-account attachment. This parameter is required.- Returns:
this- See Also:
-
principals
@Stability(Stable) public CfnCrossAccountAttachmentPropsMixin.Builder principals(List<String> principals) The principals included in the cross-account attachment.- Parameters:
principals- The principals included in the cross-account attachment. This parameter is required.- Returns:
this- See Also:
-
resources
@Stability(Stable) public CfnCrossAccountAttachmentPropsMixin.Builder resources(IResolvable resources) The resources included in the cross-account attachment.- Parameters:
resources- The resources included in the cross-account attachment. This parameter is required.- Returns:
this- See Also:
-
resources
@Stability(Stable) public CfnCrossAccountAttachmentPropsMixin.Builder resources(List<? extends Object> resources) The resources included in the cross-account attachment.- Parameters:
resources- The resources included in the cross-account attachment. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnCrossAccountAttachmentPropsMixin.Builder tags(List<? extends CfnTag> tags) Add tags for a cross-account attachment.For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide .
- Parameters:
tags- Add tags for a cross-account attachment. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCrossAccountAttachmentPropsMixin>- Returns:
- a newly built instance of
CfnCrossAccountAttachmentPropsMixin.
-