public class TrafficPolicy extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
TrafficPolicy() |
| Modifier and Type | Method and Description |
|---|---|
TrafficPolicy |
clone() |
boolean |
equals(Object obj) |
String |
getComment()
Returns the value of the Comment property for this object.
|
String |
getDocument()
Returns the value of the Document property for this object.
|
String |
getId()
Returns the value of the Id property for this object.
|
String |
getName()
Returns the value of the Name property for this object.
|
String |
getType()
Returns the value of the Type property for this object.
|
Integer |
getVersion()
Returns the value of the Version property for this object.
|
int |
hashCode() |
void |
setComment(String comment)
Sets the value of the Comment property for this object.
|
void |
setDocument(String document)
Sets the value of the Document property for this object.
|
void |
setId(String id)
Sets the value of the Id property for this object.
|
void |
setName(String name)
Sets the value of the Name property for this object.
|
void |
setType(RRType type)
Sets the value of the Type property for this object.
|
void |
setType(String type)
Sets the value of the Type property for this object.
|
void |
setVersion(Integer version)
Sets the value of the Version property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TrafficPolicy |
withComment(String comment)
Sets the value of the Comment property for this object.
|
TrafficPolicy |
withDocument(String document)
Sets the value of the Document property for this object.
|
TrafficPolicy |
withId(String id)
Sets the value of the Id property for this object.
|
TrafficPolicy |
withName(String name)
Sets the value of the Name property for this object.
|
TrafficPolicy |
withType(RRType type)
Sets the value of the Type property for this object.
|
TrafficPolicy |
withType(String type)
Sets the value of the Type property for this object.
|
TrafficPolicy |
withVersion(Integer version)
Sets the value of the Version property for this object.
|
public String getId()
Constraints:
Length: 0 - 36
public void setId(String id)
Constraints:
Length: 0 - 36
id - The new value for the Id property for this object.public TrafficPolicy withId(String id)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 36
id - The new value for the Id property for this object.public Integer getVersion()
Constraints:
Range: 1 - 1000
public void setVersion(Integer version)
Constraints:
Range: 1 - 1000
version - The new value for the Version property for this object.public TrafficPolicy withVersion(Integer version)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 1000
version - The new value for the Version property for this object.public String getName()
Constraints:
Length: 0 - 512
public void setName(String name)
Constraints:
Length: 0 - 512
name - The new value for the Name property for this object.public TrafficPolicy withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 512
name - The new value for the Name property for this object.public String getType()
Constraints:
Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA
RRTypepublic void setType(String type)
Constraints:
Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA
type - The new value for the Type property for this object.RRTypepublic TrafficPolicy withType(String type)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA
type - The new value for the Type property for this object.RRTypepublic void setType(RRType type)
Constraints:
Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA
type - The new value for the Type property for this object.RRTypepublic TrafficPolicy withType(RRType type)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA
type - The new value for the Type property for this object.RRTypepublic String getDocument()
Constraints:
Length: 0 - 102400
public void setDocument(String document)
Constraints:
Length: 0 - 102400
document - The new value for the Document property for this object.public TrafficPolicy withDocument(String document)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 102400
document - The new value for the Document property for this object.public String getComment()
Constraints:
Length: 0 - 1024
public void setComment(String comment)
Constraints:
Length: 0 - 1024
comment - The new value for the Comment property for this object.public TrafficPolicy withComment(String comment)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
comment - The new value for the Comment property for this object.public String toString()
toString in class ObjectObject.toString()public TrafficPolicy clone()
Copyright © 2015. All rights reserved.