Class CreateDistributionResult
java.lang.Object
com.amazonaws.services.cloudfront.model.CreateDistributionResult
- All Implemented Interfaces:
Serializable
,Cloneable
The returned result of the corresponding request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The distribution's information.getETag()
The current version of the distribution created.The fully qualified URI of the new distribution resource just created.int
hashCode()
void
setDistribution
(Distribution distribution) The distribution's information.void
The current version of the distribution created.void
setLocation
(String location) The fully qualified URI of the new distribution resource just created.toString()
Returns a string representation of this object; useful for testing and debugging.withDistribution
(Distribution distribution) The distribution's information.The current version of the distribution created.withLocation
(String location) The fully qualified URI of the new distribution resource just created.
-
Constructor Details
-
CreateDistributionResult
public CreateDistributionResult()
-
-
Method Details
-
setDistribution
The distribution's information.- Parameters:
distribution
- The distribution's information.
-
getDistribution
The distribution's information.- Returns:
- The distribution's information.
-
withDistribution
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
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
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
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
The current version of the distribution created.- Parameters:
eTag
- The current version of the distribution created.
-
getETag
The current version of the distribution created.- Returns:
- The current version of the distribution created.
-
withETag
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-