Interface SrvRecordProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,RecordSetOptions
- All Known Implementing Classes:
SrvRecordProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-09-06T01:36:35.139Z")
@Stability(Stable)
public interface SrvRecordProps
extends software.amazon.jsii.JsiiSerializable, RecordSetOptions
Construction properties for a SrvRecord.
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.*; GeoLocation geoLocation; 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") .deleteExisting(false) .geoLocation(geoLocation) .multiValueAnswer(false) .recordName("recordName") .region("region") .setIdentifier("setIdentifier") .ttl(Duration.minutes(30)) .weight(123) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forSrvRecordProps
static final class
An implementation forSrvRecordProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.route53.RecordSetOptions
getComment, getDeleteExisting, getGeoLocation, getMultiValueAnswer, getRecordName, getRegion, getSetIdentifier, getTtl, getWeight, getZone
-
Method Details
-
getValues
The values. -
builder
- Returns:
- a
SrvRecordProps.Builder
ofSrvRecordProps
-