Class CfnServiceNetworkServiceAssociationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.vpclattice.CfnServiceNetworkServiceAssociationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceNetworkServiceAssociationMixinProps>
- Enclosing interface:
CfnServiceNetworkServiceAssociationMixinProps
@Stability(Stable)
public static final class CfnServiceNetworkServiceAssociationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceNetworkServiceAssociationMixinProps>
A builder for
CfnServiceNetworkServiceAssociationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnServiceNetworkServiceAssociationMixinProps.getDnsEntry()dnsEntry(IResolvable dnsEntry) Sets the value ofCfnServiceNetworkServiceAssociationMixinProps.getDnsEntry()serviceIdentifier(String serviceIdentifier) Sets the value ofCfnServiceNetworkServiceAssociationMixinProps.getServiceIdentifier()serviceNetworkIdentifier(String serviceNetworkIdentifier) Sets the value ofCfnServiceNetworkServiceAssociationMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dnsEntry
@Stability(Stable) public CfnServiceNetworkServiceAssociationMixinProps.Builder dnsEntry(IResolvable dnsEntry) Sets the value ofCfnServiceNetworkServiceAssociationMixinProps.getDnsEntry()- Parameters:
dnsEntry- The DNS information of the service.- Returns:
this
-
dnsEntry
@Stability(Stable) public CfnServiceNetworkServiceAssociationMixinProps.Builder dnsEntry(CfnServiceNetworkServiceAssociationPropsMixin.DnsEntryProperty dnsEntry) Sets the value ofCfnServiceNetworkServiceAssociationMixinProps.getDnsEntry()- Parameters:
dnsEntry- The DNS information of the service.- Returns:
this
-
serviceIdentifier
@Stability(Stable) public CfnServiceNetworkServiceAssociationMixinProps.Builder serviceIdentifier(String serviceIdentifier) Sets the value ofCfnServiceNetworkServiceAssociationMixinProps.getServiceIdentifier()- Parameters:
serviceIdentifier- The ID or ARN of the service.- Returns:
this
-
serviceNetworkIdentifier
@Stability(Stable) public CfnServiceNetworkServiceAssociationMixinProps.Builder serviceNetworkIdentifier(String serviceNetworkIdentifier) - Parameters:
serviceNetworkIdentifier- The ID or ARN of the service network. You must use an ARN if the resources are in different accounts.- Returns:
this
-
tags
@Stability(Stable) public CfnServiceNetworkServiceAssociationMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnServiceNetworkServiceAssociationMixinProps.getTags()- Parameters:
tags- The tags for the association.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServiceNetworkServiceAssociationMixinProps>- Returns:
- a new instance of
CfnServiceNetworkServiceAssociationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-