@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:43.827Z") @Stability(value=Stable) public interface SrvRecordProps 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.services.route53.*;
import software.amazon.awscdk.core.*;
HostedZone hostedZone;
SrvRecordProps srvRecordProps = SrvRecordProps.builder()
.values(List.of(SrvRecordValue.builder()
.hostName("hostName")
.port(123)
.priority(123)
.weight(123)
.build()))
.zone(hostedZone)
// the properties below are optional
.comment("comment")
.recordName("recordName")
.ttl(Duration.minutes(30))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
SrvRecordProps.Builder
A builder for
SrvRecordProps |
static class |
SrvRecordProps.Jsii$Proxy
An implementation for
SrvRecordProps |
| Modifier and Type | Method and Description |
|---|---|
static SrvRecordProps.Builder |
builder() |
List<SrvRecordValue> |
getValues()
The values.
|
getComment, getRecordName, getTtl, getZone@Stability(value=Stable) @NotNull List<SrvRecordValue> getValues()
@Stability(value=Stable) static SrvRecordProps.Builder builder()
builder in interface RecordSetOptionsSrvRecordProps.Builder of SrvRecordPropsCopyright © 2022. All rights reserved.