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 TrafficPolicyclone()booleanequals(Object obj)StringgetComment()StringgetDocument()StringgetId()StringgetName()StringgetType()IntegergetVersion()inthashCode()voidsetComment(String comment)voidsetDocument(String document)voidsetId(String id)voidsetName(String name)voidsetType(RRType type)voidsetType(String type)voidsetVersion(Integer version)StringtoString()Returns a string representation of this object; useful for testing and debugging.TrafficPolicywithComment(String comment)TrafficPolicywithDocument(String document)TrafficPolicywithId(String id)TrafficPolicywithName(String name)TrafficPolicywithType(RRType type)TrafficPolicywithType(String type)TrafficPolicywithVersion(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TrafficPolicy clone()
-
-