@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.676Z") @Stability(value=Stable) public interface RecordSetProps extends software.amazon.jsii.JsiiSerializable, RecordSetOptions
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.route53.*;
HostedZone hostedZone;
RecordTarget recordTarget;
RecordSetProps recordSetProps = RecordSetProps.builder()
.recordType(RecordType.A)
.target(recordTarget)
.zone(hostedZone)
// the properties below are optional
.comment("comment")
.deleteExisting(false)
.recordName("recordName")
.ttl(Duration.minutes(30))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
RecordSetProps.Builder
A builder for
RecordSetProps |
static class |
RecordSetProps.Jsii$Proxy
An implementation for
RecordSetProps |
| Modifier and Type | Method and Description |
|---|---|
static RecordSetProps.Builder |
builder() |
RecordType |
getRecordType()
The record type.
|
RecordTarget |
getTarget()
The target for this record, either `RecordTarget.fromValues()` or `RecordTarget.fromAlias()`.
|
getComment, getDeleteExisting, getRecordName, getTtl, getZone@Stability(value=Stable) @NotNull RecordType getRecordType()
@Stability(value=Stable) @NotNull RecordTarget getTarget()
@Stability(value=Stable) static RecordSetProps.Builder builder()
builder in interface RecordSetOptionsRecordSetProps.Builder of RecordSetPropsCopyright © 2022. All rights reserved.