Class CreateDistributionResult
- java.lang.Object
-
- com.amazonaws.services.cloudfront.model.CreateDistributionResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class CreateDistributionResult extends Object implements Serializable, Cloneable
The returned result of the corresponding request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateDistributionResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDistributionResult
clone()
boolean
equals(Object obj)
Distribution
getDistribution()
The distribution's information.String
getETag()
The current version of the distribution created.String
getLocation()
The fully qualified URI of the new distribution resource just created.int
hashCode()
void
setDistribution(Distribution distribution)
The distribution's information.void
setETag(String eTag)
The current version of the distribution created.void
setLocation(String location)
The fully qualified URI of the new distribution resource just created.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateDistributionResult
withDistribution(Distribution distribution)
The distribution's information.CreateDistributionResult
withETag(String eTag)
The current version of the distribution created.CreateDistributionResult
withLocation(String location)
The fully qualified URI of the new distribution resource just created.
-
-
-
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 CreateDistributionResult 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.
-
setLocation
public void setLocation(String location)
The fully qualified URI of the new distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/distribution/EDFDVBD632BHDS5.- Parameters:
location
- The fully qualified URI of the new distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/distribution /EDFDVBD632BHDS5.
-
getLocation
public String getLocation()
The fully qualified URI of the new distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/distribution/EDFDVBD632BHDS5.- Returns:
- The fully qualified URI of the new distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/ distribution/EDFDVBD632BHDS5.
-
withLocation
public CreateDistributionResult withLocation(String location)
The fully qualified URI of the new distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/distribution/EDFDVBD632BHDS5.- Parameters:
location
- The fully qualified URI of the new distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/distribution /EDFDVBD632BHDS5.- 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 created.- Parameters:
eTag
- The current version of the distribution created.
-
getETag
public String getETag()
The current version of the distribution created.- Returns:
- The current version of the distribution created.
-
withETag
public CreateDistributionResult withETag(String eTag)
The current version of the distribution created.- Parameters:
eTag
- The current version of the distribution created.- 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 CreateDistributionResult clone()
-
-