Interface SrvRecordValue

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
SrvRecordValue.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-06T23:25:16.105Z") @Stability(Stable) public interface SrvRecordValue extends software.amazon.jsii.JsiiSerializable
Properties for a SRV record value.

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.*;
 SrvRecordValue srvRecordValue = SrvRecordValue.builder()
         .hostName("hostName")
         .port(123)
         .priority(123)
         .weight(123)
         .build();
 
  • Method Details

    • getHostName

      @Stability(Stable) @NotNull String getHostName()
      The server host name.
    • getPort

      @Stability(Stable) @NotNull Number getPort()
      The port.
    • getPriority

      @Stability(Stable) @NotNull Number getPriority()
      The priority.
    • getWeight

      @Stability(Stable) @NotNull Number getWeight()
      The weight.
    • builder

      @Stability(Stable) static SrvRecordValue.Builder builder()
      Returns:
      a SrvRecordValue.Builder of SrvRecordValue