public class InvalidationASynchTransformer extends Object implements org.apache.commons.collections.Transformer
futureProcessor
that accepts a Future
object of CreateInvalidationResult
type; will result in either a valid response or
throw an ExecutionException
.AmazonClientException
and if there is a fault in the connection configuration the cause would be
a AmazonServiceException
.http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html
Constructor and Description |
---|
InvalidationASynchTransformer(com.amazonaws.services.cloudfront.AmazonCloudFrontAsyncClient awsClient,
String distributionId) |
Modifier and Type | Method and Description |
---|---|
com.amazonaws.services.cloudfront.AmazonCloudFrontAsyncClient |
getAwsClient() |
String |
getDistributionId() |
org.apache.commons.collections.Transformer |
getFutureProcessor() |
void |
setAwsClient(com.amazonaws.services.cloudfront.AmazonCloudFrontAsyncClient awsClient) |
void |
setDistributionId(String distributionId) |
void |
setFutureProcessor(org.apache.commons.collections.Transformer futureProcessor) |
Object |
transform(Object input) |
public InvalidationASynchTransformer(com.amazonaws.services.cloudfront.AmazonCloudFrontAsyncClient awsClient, String distributionId)
public Object transform(Object input)
transform
in interface org.apache.commons.collections.Transformer
public com.amazonaws.services.cloudfront.AmazonCloudFrontAsyncClient getAwsClient()
public void setAwsClient(com.amazonaws.services.cloudfront.AmazonCloudFrontAsyncClient awsClient)
public String getDistributionId()
public void setDistributionId(String distributionId)
public org.apache.commons.collections.Transformer getFutureProcessor()
public void setFutureProcessor(org.apache.commons.collections.Transformer futureProcessor)
Copyright © 2018. All rights reserved.