@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CopyDistributionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CopyDistributionResult() |
Modifier and Type | Method and Description |
---|---|
CopyDistributionResult |
clone() |
boolean |
equals(Object obj) |
Distribution |
getDistribution() |
String |
getETag()
The version identifier for the current version of the staging distribution.
|
String |
getLocation()
The URL of the staging distribution.
|
int |
hashCode() |
void |
setDistribution(Distribution distribution) |
void |
setETag(String eTag)
The version identifier for the current version of the staging distribution.
|
void |
setLocation(String location)
The URL of the staging distribution.
|
String |
toString()
Returns a string representation of this object.
|
CopyDistributionResult |
withDistribution(Distribution distribution) |
CopyDistributionResult |
withETag(String eTag)
The version identifier for the current version of the staging distribution.
|
CopyDistributionResult |
withLocation(String location)
The URL of the staging distribution.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDistribution(Distribution distribution)
distribution
- public Distribution getDistribution()
public CopyDistributionResult withDistribution(Distribution distribution)
distribution
- public void setLocation(String location)
The URL of the staging distribution.
location
- The URL of the staging distribution.public String getLocation()
The URL of the staging distribution.
public CopyDistributionResult withLocation(String location)
The URL of the staging distribution.
location
- The URL of the staging distribution.public void setETag(String eTag)
The version identifier for the current version of the staging distribution.
eTag
- The version identifier for the current version of the staging distribution.public String getETag()
The version identifier for the current version of the staging distribution.
public CopyDistributionResult withETag(String eTag)
The version identifier for the current version of the staging distribution.
eTag
- The version identifier for the current version of the staging distribution.public String toString()
toString
in class Object
Object.toString()
public CopyDistributionResult clone()