@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetInvalidationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The request to get an invalidation's information.
NOOP
Constructor and Description |
---|
GetInvalidationRequest()
Default constructor for GetInvalidationRequest object.
|
GetInvalidationRequest(String distributionId,
String id)
Constructs a new GetInvalidationRequest object.
|
Modifier and Type | Method and Description |
---|---|
GetInvalidationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDistributionId()
The distribution's ID.
|
String |
getId()
The identifier for the invalidation request, for example,
IDFDVBD632BHDS5 . |
int |
hashCode() |
void |
setDistributionId(String distributionId)
The distribution's ID.
|
void |
setId(String id)
The identifier for the invalidation request, for example,
IDFDVBD632BHDS5 . |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetInvalidationRequest |
withDistributionId(String distributionId)
The distribution's ID.
|
GetInvalidationRequest |
withId(String id)
The identifier for the invalidation request, for example,
IDFDVBD632BHDS5 . |
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 GetInvalidationRequest()
public GetInvalidationRequest(String distributionId, String id)
distributionId
- The distribution's ID.id
- The identifier for the invalidation request, for example, IDFDVBD632BHDS5
.public void setDistributionId(String distributionId)
The distribution's ID.
distributionId
- The distribution's ID.public String getDistributionId()
The distribution's ID.
public GetInvalidationRequest withDistributionId(String distributionId)
The distribution's ID.
distributionId
- The distribution's ID.public void setId(String id)
The identifier for the invalidation request, for example, IDFDVBD632BHDS5
.
id
- The identifier for the invalidation request, for example, IDFDVBD632BHDS5
.public String getId()
The identifier for the invalidation request, for example, IDFDVBD632BHDS5
.
IDFDVBD632BHDS5
.public GetInvalidationRequest withId(String id)
The identifier for the invalidation request, for example, IDFDVBD632BHDS5
.
id
- The identifier for the invalidation request, for example, IDFDVBD632BHDS5
.public String toString()
toString
in class Object
Object.toString()
public GetInvalidationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.