Example usage for com.amazonaws.services.cloudfront.model Distribution getStatus

List of usage examples for com.amazonaws.services.cloudfront.model Distribution getStatus

Introduction

In this page you can find the example usage for com.amazonaws.services.cloudfront.model Distribution getStatus.

Prototype


public String getStatus() 

Source Link

Document

This response element indicates the current status of the distribution.

Usage

From source file:org.duracloud.s3task.streaminghls.DeleteHlsTaskRunner.java

License:Apache License

private boolean isDeployed(String distId) {
    Distribution dist = cfClient.getDistribution(new GetDistributionRequest(distId)).getDistribution();
    return DEPLOYED.equals(dist.getStatus());
}