@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDistributionWithTagsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The returned result of the corresponding request.
Constructor and Description |
---|
CreateDistributionWithTagsResult() |
Modifier and Type | Method and Description |
---|---|
CreateDistributionWithTagsResult |
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.
|
CreateDistributionWithTagsResult |
withDistribution(Distribution distribution)
The distribution's information.
|
CreateDistributionWithTagsResult |
withETag(String eTag)
The current version of the distribution created.
|
CreateDistributionWithTagsResult |
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 CreateDistributionWithTagsResult 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.
location
- The fully qualified URI of the new distribution resource just created.public String getLocation()
The fully qualified URI of the new distribution resource just created.
public CreateDistributionWithTagsResult withLocation(String location)
The fully qualified URI of the new distribution resource just created.
location
- The fully qualified URI of the new distribution resource just created.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 CreateDistributionWithTagsResult 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 CreateDistributionWithTagsResult clone()