Class CfnRecordSetGroupMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.route53.CfnRecordSetGroupMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRecordSetGroupMixinProps>
- Enclosing interface:
CfnRecordSetGroupMixinProps
@Stability(Stable)
public static final class CfnRecordSetGroupMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRecordSetGroupMixinProps>
A builder for
CfnRecordSetGroupMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRecordSetGroupMixinProps.getComment()hostedZoneId(String hostedZoneId) Sets the value ofCfnRecordSetGroupMixinProps.getHostedZoneId()hostedZoneName(String hostedZoneName) Sets the value ofCfnRecordSetGroupMixinProps.getHostedZoneName()recordSets(List<? extends Object> recordSets) Sets the value ofCfnRecordSetGroupMixinProps.getRecordSets()recordSets(IResolvable recordSets) Sets the value ofCfnRecordSetGroupMixinProps.getRecordSets()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
comment
Sets the value ofCfnRecordSetGroupMixinProps.getComment()- Parameters:
comment- Optional: Any comments you want to include about a change batch request.- Returns:
this
-
hostedZoneId
Sets the value ofCfnRecordSetGroupMixinProps.getHostedZoneId()- Parameters:
hostedZoneId- The ID of the hosted zone that you want to create records in. Specify eitherHostedZoneNameorHostedZoneId, but not both. If you have multiple hosted zones with the same domain name, you must specify the hosted zone usingHostedZoneId.- Returns:
this
-
hostedZoneName
Sets the value ofCfnRecordSetGroupMixinProps.getHostedZoneName()- Parameters:
hostedZoneName- The name of the hosted zone that you want to create records in. You must include a trailing dot (for example,www.example.com.) as part of theHostedZoneName.When you create a stack using an
AWS::Route53::RecordSetthat specifiesHostedZoneName, AWS CloudFormation attempts to find a hosted zone whose name matches theHostedZoneName. If AWS CloudFormation can't find a hosted zone with a matching domain name, or if there is more than one hosted zone with the specified domain name, AWS CloudFormation will not create the stack.Specify either
HostedZoneNameorHostedZoneId, but not both. If you have multiple hosted zones with the same domain name, you must specify the hosted zone usingHostedZoneId.- Returns:
this
-
recordSets
Sets the value ofCfnRecordSetGroupMixinProps.getRecordSets()- Parameters:
recordSets- A complex type that contains oneRecordSetelement for each record that you want to create.- Returns:
this
-
recordSets
@Stability(Stable) public CfnRecordSetGroupMixinProps.Builder recordSets(List<? extends Object> recordSets) Sets the value ofCfnRecordSetGroupMixinProps.getRecordSets()- Parameters:
recordSets- A complex type that contains oneRecordSetelement for each record that you want to create.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRecordSetGroupMixinProps>- Returns:
- a new instance of
CfnRecordSetGroupMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-