@Stability(value=Stable) public static final class SrvRecordValue.Builder extends Object implements software.amazon.jsii.Builder<SrvRecordValue>
SrvRecordValue| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SrvRecordValue |
build()
Builds the configured instance.
|
SrvRecordValue.Builder |
hostName(String hostName)
Sets the value of
SrvRecordValue.getHostName() |
SrvRecordValue.Builder |
port(Number port)
Sets the value of
SrvRecordValue.getPort() |
SrvRecordValue.Builder |
priority(Number priority)
Sets the value of
SrvRecordValue.getPriority() |
SrvRecordValue.Builder |
weight(Number weight)
Sets the value of
SrvRecordValue.getWeight() |
@Stability(value=Stable) public SrvRecordValue.Builder hostName(String hostName)
SrvRecordValue.getHostName()hostName - The server host name. This parameter is required.this@Stability(value=Stable) public SrvRecordValue.Builder port(Number port)
SrvRecordValue.getPort()port - The port. This parameter is required.this@Stability(value=Stable) public SrvRecordValue.Builder priority(Number priority)
SrvRecordValue.getPriority()priority - The priority. This parameter is required.this@Stability(value=Stable) public SrvRecordValue.Builder weight(Number weight)
SrvRecordValue.getWeight()weight - The weight. This parameter is required.this@Stability(value=Stable) public SrvRecordValue build()
build in interface software.amazon.jsii.Builder<SrvRecordValue>SrvRecordValueNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.