public class CreateDistributionResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private Distribution |
distribution
The distribution's information.
|
private java.lang.String |
eTag
The current version of the distribution created.
|
private java.lang.String |
location
The fully qualified URI of the new distribution resource just created.
|
Constructor and Description |
---|
CreateDistributionResult() |
Modifier and Type | Method and Description |
---|---|
CreateDistributionResult |
clone() |
boolean |
equals(java.lang.Object obj) |
Distribution |
getDistribution()
The distribution's information.
|
java.lang.String |
getETag()
The current version of the distribution created.
|
java.lang.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(java.lang.String eTag)
The current version of the distribution created.
|
void |
setLocation(java.lang.String location)
The fully qualified URI of the new distribution resource just created.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDistributionResult |
withDistribution(Distribution distribution)
The distribution's information.
|
CreateDistributionResult |
withETag(java.lang.String eTag)
The current version of the distribution created.
|
CreateDistributionResult |
withLocation(java.lang.String location)
The fully qualified URI of the new distribution resource just created.
|
private Distribution distribution
private java.lang.String location
private java.lang.String eTag
public void setDistribution(Distribution distribution)
distribution
- The distribution's information.public Distribution getDistribution()
public CreateDistributionResult withDistribution(Distribution distribution)
distribution
- The distribution's information.public void setLocation(java.lang.String location)
location
- The fully qualified URI of the new distribution resource just
created. For example:
https://cloudfront.amazonaws.com/2010-11-01/distribution
/EDFDVBD632BHDS5.public java.lang.String getLocation()
public CreateDistributionResult withLocation(java.lang.String location)
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(java.lang.String eTag)
eTag
- The current version of the distribution created.public java.lang.String getETag()
public CreateDistributionResult withETag(java.lang.String eTag)
eTag
- The current version of the distribution created.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateDistributionResult clone()
clone
in class java.lang.Object