|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudfront.model.CreateDistributionResult
public class CreateDistributionResult
The returned result of the corresponding request.
Constructor Summary | |
---|---|
CreateDistributionResult()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateDistributionResult()
Method Detail |
---|
public Distribution getDistribution()
public void setDistribution(Distribution distribution)
distribution
- The distribution's information.public CreateDistributionResult withDistribution(Distribution distribution)
Returns a reference to this object so that method calls can be chained together.
distribution
- The distribution's information.
public String getLocation()
public void setLocation(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 CreateDistributionResult withLocation(String location)
Returns a reference to this object so that method calls can be chained together.
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 getETag()
public void setETag(String eTag)
eTag
- The current version of the distribution created.public CreateDistributionResult withETag(String eTag)
Returns a reference to this object so that method calls can be chained together.
eTag
- The current version of the distribution created.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |