@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDistributionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The request to get a distribution's information.
NOOP
Constructor and Description |
---|
GetDistributionRequest()
Default constructor for GetDistributionRequest object.
|
GetDistributionRequest(String id)
Constructs a new GetDistributionRequest object.
|
Modifier and Type | Method and Description |
---|---|
GetDistributionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
GetDistributionRequest |
withId(String id)
The distribution's ID.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public GetDistributionRequest()
public GetDistributionRequest(String id)
id
- The distribution's ID. If the ID is empty, an empty distribution configuration is returned.public void setId(String id)
The distribution's ID. If the ID is empty, an empty distribution configuration is returned.
id
- The distribution's ID. If the ID is empty, an empty distribution configuration is returned.public String getId()
The distribution's ID. If the ID is empty, an empty distribution configuration is returned.
public GetDistributionRequest withId(String id)
The distribution's ID. If the ID is empty, an empty distribution configuration is returned.
id
- The distribution's ID. If the ID is empty, an empty distribution configuration is returned.public String toString()
toString
in class Object
Object.toString()
public GetDistributionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()