Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudfront_2012_03_15.model
Class GetDistributionRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.cloudfront_2012_03_15.model.GetDistributionRequest

public class GetDistributionRequest
extends AmazonWebServiceRequest

Container for the parameters to the GetDistribution operation.

Get the information about a distribution.

See Also:
com.amazonaws.services.cloudfront_2012_03_152012_03_15AmazonCloudFront#getDistribution(GetDistributionRequest)

Constructor Summary
GetDistributionRequest()
          Default constructor for a new GetDistributionRequest object.
GetDistributionRequest(String id)
          Constructs a new GetDistributionRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getId()
          The distribution's id.
 int hashCode()
           
 void setId(String id)
          The distribution's id.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetDistributionRequest withId(String id)
          The distribution's id.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetDistributionRequest

public GetDistributionRequest()
Default constructor for a new GetDistributionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


GetDistributionRequest

public GetDistributionRequest(String id)
Constructs a new GetDistributionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
id - The distribution's id.
Method Detail

getId

public String getId()
The distribution's id.

Returns:
The distribution's id.

setId

public void setId(String id)
The distribution's id.

Parameters:
id - The distribution's id.

withId

public GetDistributionRequest withId(String id)
The distribution's id.

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

Parameters:
id - The distribution's id.
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.