@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-19T23:09:29.717Z") @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 RecordSetOptions
SrvRecordProps.Builder
of SrvRecordProps
Copyright © 2023. All rights reserved.