use of com.amazonaws.services.mediastore.model.ListContainersResult in project aws-doc-sdk-examples by awsdocs.
the class ListContainers method main.
public static void main(String[] args) {
final AWSMediaStore mediastore = AWSMediaStoreClientBuilder.defaultClient();
final ListContainersResult result = mediastore.listContainers(new ListContainersRequest());
final List<Container> containers = result.getContainers();
System.out.println("Your AWS Elemental MediaStore containers are:");
for (Container b : containers) {
System.out.println("* " + b.getName());
}
}
Aggregations