Class CfnServiceNetworkServiceAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.vpclattice.CfnServiceNetworkServiceAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceNetworkServiceAssociation>
- Enclosing class:
- CfnServiceNetworkServiceAssociation
@Stability(Stable)
public static final class CfnServiceNetworkServiceAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceNetworkServiceAssociation>
A fluent builder for
CfnServiceNetworkServiceAssociation
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
dnsEntry
(IResolvable dnsEntry) AWS::VpcLattice::ServiceNetworkServiceAssociation.DnsEntry
.AWS::VpcLattice::ServiceNetworkServiceAssociation.DnsEntry
.serviceIdentifier
(String serviceIdentifier) The ID or Amazon Resource Name (ARN) of the service.serviceNetworkIdentifier
(String serviceNetworkIdentifier) The ID or Amazon Resource Name (ARN) of the service network.The tags for the association.
-
Method Details
-
create
@Stability(Stable) public static CfnServiceNetworkServiceAssociation.Builder create(Construct scope, String id) - Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnServiceNetworkServiceAssociation.Builder
.
-
dnsEntry
@Stability(Stable) public CfnServiceNetworkServiceAssociation.Builder dnsEntry(IResolvable dnsEntry) AWS::VpcLattice::ServiceNetworkServiceAssociation.DnsEntry
.- Parameters:
dnsEntry
-AWS::VpcLattice::ServiceNetworkServiceAssociation.DnsEntry
. This parameter is required.- Returns:
this
-
dnsEntry
@Stability(Stable) public CfnServiceNetworkServiceAssociation.Builder dnsEntry(CfnServiceNetworkServiceAssociation.DnsEntryProperty dnsEntry) AWS::VpcLattice::ServiceNetworkServiceAssociation.DnsEntry
.- Parameters:
dnsEntry
-AWS::VpcLattice::ServiceNetworkServiceAssociation.DnsEntry
. This parameter is required.- Returns:
this
-
serviceIdentifier
@Stability(Stable) public CfnServiceNetworkServiceAssociation.Builder serviceIdentifier(String serviceIdentifier) The ID or Amazon Resource Name (ARN) of the service.- Parameters:
serviceIdentifier
- The ID or Amazon Resource Name (ARN) of the service. This parameter is required.- Returns:
this
-
serviceNetworkIdentifier
@Stability(Stable) public CfnServiceNetworkServiceAssociation.Builder serviceNetworkIdentifier(String serviceNetworkIdentifier) The ID or Amazon Resource Name (ARN) of the service network.You must use the ARN if the resources specified in the operation are in different accounts.
- Parameters:
serviceNetworkIdentifier
- The ID or Amazon Resource Name (ARN) of the service network. This parameter is required.- Returns:
this
-
tags
@Stability(Stable) public CfnServiceNetworkServiceAssociation.Builder tags(List<? extends CfnTag> tags) The tags for the association.- Parameters:
tags
- The tags for the association. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnServiceNetworkServiceAssociation>
- Returns:
- a newly built instance of
CfnServiceNetworkServiceAssociation
.
-