List of usage examples for com.amazonaws.services.cloudfront.model Distribution getStatus
public String getStatus()
This response element indicates the current status of the distribution.
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()); }