Class CreateInvalidationRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudfront.model.CreateInvalidationRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CreateInvalidationRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable
The request to create an invalidation.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for CreateInvalidationRequest object.CreateInvalidationRequest
(String distributionId, InvalidationBatch invalidationBatch) Constructs a new CreateInvalidationRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The distribution's id.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.toString()
Returns a string representation of this object; useful for testing and debugging.withDistributionId
(String distributionId) The distribution's id.withInvalidationBatch
(InvalidationBatch invalidationBatch) The batch information for the invalidation.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
CreateInvalidationRequest
public CreateInvalidationRequest()Default constructor for CreateInvalidationRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
CreateInvalidationRequest
Constructs a new CreateInvalidationRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
distributionId
- The distribution's id.invalidationBatch
- The batch information for the invalidation.
-
-
Method Details
-
setDistributionId
The distribution's id.- Parameters:
distributionId
- The distribution's id.
-
getDistributionId
The distribution's id.- Returns:
- The distribution's id.
-
withDistributionId
The distribution's id.- Parameters:
distributionId
- The distribution's id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInvalidationBatch
The batch information for the invalidation.- Parameters:
invalidationBatch
- The batch information for the invalidation.
-
getInvalidationBatch
The batch information for the invalidation.- Returns:
- The batch information for the invalidation.
-
withInvalidationBatch
The batch information for the invalidation.- Parameters:
invalidationBatch
- The batch information for the invalidation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-