public static final class MxRecordValue.Builder
extends java.lang.Object
MxRecordValue
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MxRecordValue |
build()
Builds the configured instance.
|
MxRecordValue.Builder |
hostName(java.lang.String hostName)
Sets the value of
MxRecordValue.getHostName() |
MxRecordValue.Builder |
priority(java.lang.Number priority)
Sets the value of
MxRecordValue.getPriority() |
public MxRecordValue.Builder hostName(java.lang.String hostName)
MxRecordValue.getHostName()
hostName
- The mail server host name. This parameter is required.this
public MxRecordValue.Builder priority(java.lang.Number priority)
MxRecordValue.getPriority()
priority
- The priority. This parameter is required.this
public MxRecordValue build()
MxRecordValue
java.lang.NullPointerException
- if any required attribute was not provided