public class DomainDnsSrvRecord extends DomainDnsRecord implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DomainDnsSrvRecord.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
nameTarget |
protected Integer |
port |
protected Integer |
priority |
protected String |
protocol |
protected String |
service |
protected Integer |
weight |
isOptional, label, recordType, supportedService, ttlchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DomainDnsSrvRecord() |
| Modifier and Type | Method and Description |
|---|---|
static DomainDnsSrvRecord.Builder |
builderDomainDnsSrvRecord()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getNameTarget() |
Optional<Integer> |
getPort() |
Optional<Integer> |
getPriority() |
Optional<String> |
getProtocol() |
Optional<String> |
getService() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<Integer> |
getWeight() |
String |
odataTypeName() |
DomainDnsSrvRecord |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DomainDnsSrvRecord |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DomainDnsSrvRecord |
withNameTarget(String nameTarget) |
DomainDnsSrvRecord |
withPort(Integer port) |
DomainDnsSrvRecord |
withPriority(Integer priority) |
DomainDnsSrvRecord |
withProtocol(String protocol) |
DomainDnsSrvRecord |
withService(String service) |
DomainDnsSrvRecord |
withWeight(Integer weight) |
builderDomainDnsRecord, getIsOptional, getLabel, getRecordType, getSupportedService, getTtl, withIsOptional, withLabel, withRecordType, withSupportedService, withTtlprotected String nameTarget
protected Integer port
protected Integer priority
protected String protocol
protected String service
protected Integer weight
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DomainDnsRecordpublic static DomainDnsSrvRecord.Builder builderDomainDnsSrvRecord()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class DomainDnsRecordpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DomainDnsRecordpublic DomainDnsSrvRecord withNameTarget(String nameTarget)
public DomainDnsSrvRecord withPort(Integer port)
public DomainDnsSrvRecord withPriority(Integer priority)
public DomainDnsSrvRecord withProtocol(String protocol)
public DomainDnsSrvRecord withService(String service)
public DomainDnsSrvRecord withWeight(Integer weight)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DomainDnsRecordpublic DomainDnsSrvRecord patch()
this with changed fields reset.patch in class DomainDnsRecordthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic DomainDnsSrvRecord put()
this
with changed fields reset (they were ignored anyway).put in class DomainDnsRecordthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class DomainDnsRecordCopyright © 2018–2020. All rights reserved.