public class BaseInstance extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BaseInstance.Builder<T extends BaseInstance.Builder<T>> |
Modifier and Type | Field and Description |
---|---|
protected int |
allocatedStorageGB |
protected String |
engine |
protected String |
instanceClass |
protected String |
masterUsername |
protected com.google.common.base.Optional<String> |
name |
Modifier | Constructor and Description |
---|---|
protected |
BaseInstance(com.google.common.base.Optional<String> name,
String instanceClass,
String engine,
String masterUsername,
int allocatedStorageGB) |
Modifier and Type | Method and Description |
---|---|
static BaseInstance.Builder<?> |
builder() |
boolean |
equals(Object obj) |
int |
getAllocatedStorageGB()
Specifies the allocated storage size specified in gigabytes.
|
String |
getEngine()
Provides the name of the database engine to be used for this DB BaseInstance.
|
String |
getInstanceClass()
Contains the name of the compute and memory capacity class of the DB BaseInstance.
|
String |
getMasterUsername()
Contains the master username for the DB BaseInstance.
|
com.google.common.base.Optional<String> |
getName()
The meaning of this parameter differs according to the database engine you use.
|
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
BaseInstance.Builder<?> |
toBuilder() |
String |
toString() |
protected final com.google.common.base.Optional<String> name
protected final String instanceClass
protected final String engine
protected final String masterUsername
protected int allocatedStorageGB
public static BaseInstance.Builder<?> builder()
public BaseInstance.Builder<?> toBuilder()
public com.google.common.base.Optional<String> getName()
public String getInstanceClass()
public String getEngine()
public String getMasterUsername()
public int getAllocatedStorageGB()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2013 jclouds. All Rights Reserved.