public final class EC2ServiceContext extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EC2ServiceContext.Builder |
Modifier and Type | Method and Description |
---|---|
static EC2ServiceContext.Builder |
builder(com.amazonaws.auth.AWSCredentials credentials) |
static EC2ServiceContext |
create(com.amazonaws.auth.AWSCredentials credentials) |
static EC2ServiceContext |
create(com.amazonaws.auth.AWSCredentials credentials,
com.amazonaws.services.ec2.model.Region region) |
com.google.common.base.Optional<com.amazonaws.ClientConfiguration> |
getConfiguration() |
com.amazonaws.auth.AWSCredentials |
getCredentials() |
com.google.common.base.Optional<String> |
getEndpoint() |
int |
getInitialPauseMillis() |
String |
getRegion() |
int |
getSleepIntervalMillis() |
int |
getTerminationTimeoutMillis() |
com.google.common.base.Optional<Integer> |
getTimeOffsetInSeconds() |
public static EC2ServiceContext create(com.amazonaws.auth.AWSCredentials credentials, com.amazonaws.services.ec2.model.Region region)
public static EC2ServiceContext create(com.amazonaws.auth.AWSCredentials credentials)
public static EC2ServiceContext.Builder builder(com.amazonaws.auth.AWSCredentials credentials)
public com.amazonaws.auth.AWSCredentials getCredentials()
public int getSleepIntervalMillis()
public int getInitialPauseMillis()
public int getTerminationTimeoutMillis()
public com.google.common.base.Optional<String> getEndpoint()
public com.google.common.base.Optional<com.amazonaws.ClientConfiguration> getConfiguration()
public com.google.common.base.Optional<Integer> getTimeOffsetInSeconds()
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.