@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDistributionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The returned result of the corresponding request.
Constructor and Description |
---|
CreateDistributionResult() |
Modifier and Type | Method and 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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDistribution(Distribution distribution)
The distribution's information.
distribution
- The distribution's information.public Distribution getDistribution()
The distribution's information.
public CreateDistributionResult withDistribution(Distribution distribution)
The distribution's information.
distribution
- The distribution's information.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
.
location
- The fully qualified URI of the new distribution resource just created. For example:
https://cloudfront.amazonaws.com/2010-11-01/distribution/EDFDVBD632BHDS5
.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
.
https://cloudfront.amazonaws.com/2010-11-01/distribution/EDFDVBD632BHDS5
.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
.
location
- The fully qualified URI of the new distribution resource just created. For example:
https://cloudfront.amazonaws.com/2010-11-01/distribution/EDFDVBD632BHDS5
.public void setETag(String eTag)
The current version of the distribution created.
eTag
- The current version of the distribution created.public String getETag()
The current version of the distribution created.
public CreateDistributionResult withETag(String eTag)
The current version of the distribution created.
eTag
- The current version of the distribution created.public String toString()
toString
in class Object
Object.toString()
public CreateDistributionResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.