Class CfnServiceProps.Builder
java.lang.Object
software.amazon.awscdk.services.vpclattice.CfnServiceProps.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnServiceProps>
- Enclosing interface:
 - CfnServiceProps
 
@Stability(Stable)
public static final class CfnServiceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceProps>
A builder for 
CfnServiceProps- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnServiceProps.getAuthType()build()Builds the configured instance.certificateArn(String certificateArn) Sets the value ofCfnServiceProps.getCertificateArn()customDomainName(String customDomainName) Sets the value ofCfnServiceProps.getCustomDomainName()dnsEntry(IResolvable dnsEntry) Sets the value ofCfnServiceProps.getDnsEntry()dnsEntry(CfnService.DnsEntryProperty dnsEntry) Sets the value ofCfnServiceProps.getDnsEntry()Sets the value ofCfnServiceProps.getName()Sets the value ofCfnServiceProps.getTags() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
authType
Sets the value ofCfnServiceProps.getAuthType()- Parameters:
 authType- The type of IAM policy.NONE: The resource does not use an IAM policy. This is the default.AWS_IAM: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
- Returns:
 this
 - 
certificateArn
Sets the value ofCfnServiceProps.getCertificateArn()- Parameters:
 certificateArn- The Amazon Resource Name (ARN) of the certificate.- Returns:
 this
 - 
customDomainName
Sets the value ofCfnServiceProps.getCustomDomainName()- Parameters:
 customDomainName- The custom domain name of the service.- Returns:
 this
 - 
dnsEntry
Sets the value ofCfnServiceProps.getDnsEntry()- Parameters:
 dnsEntry-AWS::VpcLattice::Service.DnsEntry.- Returns:
 this
 - 
dnsEntry
Sets the value ofCfnServiceProps.getDnsEntry()- Parameters:
 dnsEntry-AWS::VpcLattice::Service.DnsEntry.- Returns:
 this
 - 
name
Sets the value ofCfnServiceProps.getName()- Parameters:
 name- The name of the service. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
- Returns:
 this
 - 
tags
Sets the value ofCfnServiceProps.getTags()- Parameters:
 tags- The tags for the service.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnServiceProps>- Returns:
 - a new instance of 
CfnServiceProps - Throws:
 NullPointerException- if any required attribute was not provided
 
 -