Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudfront.model
Class CreateDistributionResult

java.lang.Object
  extended by com.amazonaws.services.cloudfront.model.CreateDistributionResult
All Implemented Interfaces:
Serializable

public class CreateDistributionResult
extends Object
implements Serializable

The returned result of the corresponding request.

See Also:
Serialized Form

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

CreateDistributionResult

public CreateDistributionResult()
Method Detail

getDistribution

public Distribution getDistribution()
The distribution's information.

Returns:
The distribution's information.

setDistribution

public void setDistribution(Distribution distribution)
The distribution's information.

Parameters:
distribution - The distribution's information.

withDistribution

public CreateDistributionResult withDistribution(Distribution distribution)
The distribution's information.

Returns a reference to this object so that method calls can be chained together.

Parameters:
distribution - The distribution's information.
Returns:
A reference to this updated object so that method calls can be chained together.

getLocation

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.

Returns:
The fully qualified URI of the new distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/distribution/EDFDVBD632BHDS5.

setLocation

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.

Parameters:
location - The fully qualified URI of the new distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/distribution/EDFDVBD632BHDS5.

withLocation

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
location - The fully qualified URI of the new distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/distribution/EDFDVBD632BHDS5.
Returns:
A reference to this updated object so that method calls can be chained together.

getETag

public String getETag()
The current version of the distribution created.

Returns:
The current version of the distribution created.

setETag

public void setETag(String eTag)
The current version of the distribution created.

Parameters:
eTag - The current version of the distribution created.

withETag

public CreateDistributionResult withETag(String eTag)
The current version of the distribution created.

Returns a reference to this object so that method calls can be chained together.

Parameters:
eTag - The current version of the distribution created.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.