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) The DNS information of the service.The DNS information of the service.serviceIdentifier
(String serviceIdentifier) The ID or ARN of the service.serviceNetworkIdentifier
(String serviceNetworkIdentifier) The ID or ARN of the service network.The tags for the association.
-
Method Details
-
create
@Stability(Stable) public static CfnServiceNetworkServiceAssociation.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
CfnServiceNetworkServiceAssociation.Builder
.
-
dnsEntry
@Stability(Stable) public CfnServiceNetworkServiceAssociation.Builder dnsEntry(IResolvable dnsEntry) The DNS information of the service.- Parameters:
dnsEntry
- The DNS information of the service. This parameter is required.- Returns:
this
- See Also:
-
dnsEntry
@Stability(Stable) public CfnServiceNetworkServiceAssociation.Builder dnsEntry(CfnServiceNetworkServiceAssociation.DnsEntryProperty dnsEntry) The DNS information of the service.- Parameters:
dnsEntry
- The DNS information of the service. This parameter is required.- Returns:
this
- See Also:
-
serviceIdentifier
@Stability(Stable) public CfnServiceNetworkServiceAssociation.Builder serviceIdentifier(String serviceIdentifier) The ID or ARN of the service.- Parameters:
serviceIdentifier
- The ID or ARN of the service. This parameter is required.- Returns:
this
- See Also:
-
serviceNetworkIdentifier
@Stability(Stable) public CfnServiceNetworkServiceAssociation.Builder serviceNetworkIdentifier(String serviceNetworkIdentifier) The ID or ARN of the service network.You must use an ARN if the resources are in different accounts.
- Parameters:
serviceNetworkIdentifier
- The ID or ARN of the service network. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnServiceNetworkServiceAssociation>
- Returns:
- a newly built instance of
CfnServiceNetworkServiceAssociation
.
-