Class GetDistributionResult
- java.lang.Object
-
- com.amazonaws.services.cloudfront.model.GetDistributionResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class GetDistributionResult extends Object implements Serializable, Cloneable
The returned result of the corresponding request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetDistributionResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetDistributionResult
clone()
boolean
equals(Object obj)
Distribution
getDistribution()
The distribution's information.String
getETag()
The current version of the distribution's information.int
hashCode()
void
setDistribution(Distribution distribution)
The distribution's information.void
setETag(String eTag)
The current version of the distribution's information.String
toString()
Returns a string representation of this object; useful for testing and debugging.GetDistributionResult
withDistribution(Distribution distribution)
The distribution's information.GetDistributionResult
withETag(String eTag)
The current version of the distribution's information.
-
-
-
Method Detail
-
setDistribution
public void setDistribution(Distribution distribution)
The distribution's information.- Parameters:
distribution
- The distribution's information.
-
getDistribution
public Distribution getDistribution()
The distribution's information.- Returns:
- The distribution's information.
-
withDistribution
public GetDistributionResult withDistribution(Distribution distribution)
The distribution's information.- Parameters:
distribution
- The distribution's information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setETag
public void setETag(String eTag)
The current version of the distribution's information. For example: E2QWRUHAPOMQZL.- Parameters:
eTag
- The current version of the distribution's information. For example: E2QWRUHAPOMQZL.
-
getETag
public String getETag()
The current version of the distribution's information. For example: E2QWRUHAPOMQZL.- Returns:
- The current version of the distribution's information. For example: E2QWRUHAPOMQZL.
-
withETag
public GetDistributionResult withETag(String eTag)
The current version of the distribution's information. For example: E2QWRUHAPOMQZL.- Parameters:
eTag
- The current version of the distribution's information. For example: E2QWRUHAPOMQZL.- 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 GetDistributionResult clone()
-
-