@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateInvalidationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The request to create an invalidation.
NOOP
Constructor and Description |
---|
CreateInvalidationRequest()
Default constructor for CreateInvalidationRequest object.
|
CreateInvalidationRequest(String distributionId,
InvalidationBatch invalidationBatch)
Constructs a new CreateInvalidationRequest object.
|
Modifier and Type | Method and Description |
---|---|
CreateInvalidationRequest |
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.
|
InvalidationBatch |
getInvalidationBatch()
The batch information for the invalidation.
|
int |
hashCode() |
void |
setDistributionId(String distributionId)
The distribution's id.
|
void |
setInvalidationBatch(InvalidationBatch invalidationBatch)
The batch information for the invalidation.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateInvalidationRequest |
withDistributionId(String distributionId)
The distribution's id.
|
CreateInvalidationRequest |
withInvalidationBatch(InvalidationBatch invalidationBatch)
The batch information for the invalidation.
|
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 CreateInvalidationRequest()
public CreateInvalidationRequest(String distributionId, InvalidationBatch invalidationBatch)
distributionId
- The distribution's id.invalidationBatch
- The batch information for the invalidation.public void setDistributionId(String distributionId)
The distribution's id.
distributionId
- The distribution's id.public String getDistributionId()
The distribution's id.
public CreateInvalidationRequest withDistributionId(String distributionId)
The distribution's id.
distributionId
- The distribution's id.public void setInvalidationBatch(InvalidationBatch invalidationBatch)
The batch information for the invalidation.
invalidationBatch
- The batch information for the invalidation.public InvalidationBatch getInvalidationBatch()
The batch information for the invalidation.
public CreateInvalidationRequest withInvalidationBatch(InvalidationBatch invalidationBatch)
The batch information for the invalidation.
invalidationBatch
- The batch information for the invalidation.public String toString()
toString
in class Object
Object.toString()
public CreateInvalidationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.