Class TrafficPolicy
- java.lang.Object
-
- com.amazonaws.services.route53.model.TrafficPolicy
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class TrafficPolicy extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TrafficPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TrafficPolicy
clone()
boolean
equals(Object obj)
String
getComment()
String
getDocument()
String
getId()
String
getName()
String
getType()
Integer
getVersion()
int
hashCode()
void
setComment(String comment)
void
setDocument(String document)
void
setId(String id)
void
setName(String name)
void
setType(RRType type)
void
setType(String type)
void
setVersion(Integer version)
String
toString()
Returns a string representation of this object; useful for testing and debugging.TrafficPolicy
withComment(String comment)
TrafficPolicy
withDocument(String document)
TrafficPolicy
withId(String id)
TrafficPolicy
withName(String name)
TrafficPolicy
withType(RRType type)
TrafficPolicy
withType(String type)
TrafficPolicy
withVersion(Integer version)
-
-
-
Method Detail
-
setId
public void setId(String id)
- Parameters:
id
-
-
getId
public String getId()
- Returns:
-
withId
public TrafficPolicy withId(String id)
- Parameters:
id
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVersion
public void setVersion(Integer version)
- Parameters:
version
-
-
getVersion
public Integer getVersion()
- Returns:
-
withVersion
public TrafficPolicy withVersion(Integer version)
- Parameters:
version
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
- Parameters:
name
-
-
getName
public String getName()
- Returns:
-
withName
public TrafficPolicy withName(String name)
- Parameters:
name
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withType
public TrafficPolicy withType(String type)
- Parameters:
type
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RRType
-
withType
public TrafficPolicy withType(RRType type)
- Parameters:
type
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RRType
-
setDocument
public void setDocument(String document)
- Parameters:
document
-
-
getDocument
public String getDocument()
- Returns:
-
withDocument
public TrafficPolicy withDocument(String document)
- Parameters:
document
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setComment
public void setComment(String comment)
- Parameters:
comment
-
-
getComment
public String getComment()
- Returns:
-
withComment
public TrafficPolicy withComment(String comment)
- Parameters:
comment
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TrafficPolicy clone()
-
-