Search in sources :

Example 1 with VolumeState

use of com.amazonaws.services.ec2.model.VolumeState in project cloudbreak by hortonworks.

the class AwsLaunchTest method getCurrentVolumeState.

private VolumeState getCurrentVolumeState() {
    VolumeState currentVolumeState = describeVolumeRequestFirstInvocation ? VolumeState.Available : VolumeState.InUse;
    describeVolumeRequestFirstInvocation = false;
    return currentVolumeState;
}
Also used : VolumeState(com.amazonaws.services.ec2.model.VolumeState)

Aggregations

VolumeState (com.amazonaws.services.ec2.model.VolumeState)1