@Stability(value=Stable) public static final class CrossAccountZoneDelegationRecord.Builder extends Object implements software.amazon.jsii.Builder<CrossAccountZoneDelegationRecord>
CrossAccountZoneDelegationRecord.| Modifier and Type | Method and Description |
|---|---|
CrossAccountZoneDelegationRecord |
build() |
static CrossAccountZoneDelegationRecord.Builder |
create(software.constructs.Construct scope,
String id) |
CrossAccountZoneDelegationRecord.Builder |
delegatedZone(IHostedZone delegatedZone)
The zone to be delegated.
|
CrossAccountZoneDelegationRecord.Builder |
delegationRole(IRole delegationRole)
The delegation role in the parent account.
|
CrossAccountZoneDelegationRecord.Builder |
parentHostedZoneId(String parentHostedZoneId)
The hosted zone id in the parent account.
|
CrossAccountZoneDelegationRecord.Builder |
parentHostedZoneName(String parentHostedZoneName)
The hosted zone name in the parent account.
|
CrossAccountZoneDelegationRecord.Builder |
removalPolicy(RemovalPolicy removalPolicy)
The removal policy to apply to the record set.
|
CrossAccountZoneDelegationRecord.Builder |
ttl(Duration ttl)
The resource record cache time to live (TTL).
|
@Stability(value=Stable) public static CrossAccountZoneDelegationRecord.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.CrossAccountZoneDelegationRecord.Builder.@Stability(value=Stable) public CrossAccountZoneDelegationRecord.Builder delegatedZone(IHostedZone delegatedZone)
delegatedZone - The zone to be delegated. This parameter is required.this@Stability(value=Stable) public CrossAccountZoneDelegationRecord.Builder delegationRole(IRole delegationRole)
delegationRole - The delegation role in the parent account. This parameter is required.this@Stability(value=Stable) public CrossAccountZoneDelegationRecord.Builder parentHostedZoneId(String parentHostedZoneId)
Default: - no zone id
parentHostedZoneId - The hosted zone id in the parent account. This parameter is required.this@Stability(value=Stable) public CrossAccountZoneDelegationRecord.Builder parentHostedZoneName(String parentHostedZoneName)
Default: - no zone name
parentHostedZoneName - The hosted zone name in the parent account. This parameter is required.this@Stability(value=Stable) public CrossAccountZoneDelegationRecord.Builder removalPolicy(RemovalPolicy removalPolicy)
Default: RemovalPolicy.DESTROY
removalPolicy - The removal policy to apply to the record set. This parameter is required.this@Stability(value=Stable) public CrossAccountZoneDelegationRecord.Builder ttl(Duration ttl)
Default: Duration.days(2)
ttl - The resource record cache time to live (TTL). This parameter is required.this@Stability(value=Stable) public CrossAccountZoneDelegationRecord build()
build in interface software.amazon.jsii.Builder<CrossAccountZoneDelegationRecord>Copyright © 2022. All rights reserved.