Provides access to EC2 features, broken up by feature group. Use of the {@link Optional} type allows you to check to see if the underlyingimplementation supports a particular feature before attempting to use it. This is useful in clones like OpenStack, CloudStack, or Eucalyptus, which track the api, but are always behind Amazon's service. In the case of Amazon ( {@code aws-ec2}), you can expect all features to be present. Example
Optional<? extends WindowsApi> windowsOption = ec2Client.getWindowsApi(); checkState(windowsOption.isPresent(), "windows feature required, but not present");
@author Adrian Cole
@see EC2AsyncApi