public abstract static class InstanceRequest.Builder<T extends InstanceRequest.Builder<T>> extends BaseInstance.Builder<T>
Modifier and Type | Field and Description |
---|---|
protected boolean |
autoMinorVersionUpgrade |
protected int |
backupRetentionPeriod |
protected com.google.common.base.Optional<String> |
characterSet |
protected com.google.common.base.Optional<String> |
engineVersion |
protected com.google.common.base.Optional<String> |
licenseModel |
protected String |
masterPassword |
protected com.google.common.base.Optional<String> |
optionGroup |
protected com.google.common.base.Optional<String> |
parameterGroup |
protected com.google.common.base.Optional<Integer> |
port |
protected com.google.common.collect.ImmutableSet.Builder<String> |
securityGroups |
protected com.google.common.base.Optional<String> |
subnetGroup |
allocatedStorageGB, engine, instanceClass, masterUsername, name
Constructor and Description |
---|
InstanceRequest.Builder() |
Modifier and Type | Method and Description |
---|---|
T |
autoMinorVersionUpgrade(boolean autoMinorVersionUpgrade) |
T |
backupRetentionPeriod(int backupRetentionPeriod) |
InstanceRequest |
build() |
T |
characterSet(String characterSet) |
T |
engineVersion(String engineVersion) |
T |
fromInstance(InstanceRequest in) |
T |
licenseModel(String licenseModel) |
T |
masterPassword(String masterPassword) |
T |
optionGroup(String optionGroup) |
T |
parameterGroup(String parameterGroup) |
T |
port(Integer port) |
T |
securityGroup(String securityGroupName) |
T |
securityGroups(Iterable<String> securityGroups) |
T |
subnetGroup(String subnetGroup) |
allocatedStorageGB, engine, fromBaseInstance, instanceClass, masterUsername, name, self
protected com.google.common.base.Optional<String> engineVersion
protected com.google.common.base.Optional<String> licenseModel
protected com.google.common.base.Optional<Integer> port
protected com.google.common.base.Optional<String> characterSet
protected int backupRetentionPeriod
protected com.google.common.base.Optional<String> optionGroup
protected com.google.common.base.Optional<String> parameterGroup
protected boolean autoMinorVersionUpgrade
protected com.google.common.base.Optional<String> subnetGroup
protected com.google.common.collect.ImmutableSet.Builder<String> securityGroups
protected String masterPassword
public T engineVersion(String engineVersion)
InstanceRequest.getEngineVersion()
public T licenseModel(String licenseModel)
InstanceRequest.getLicenseModel()
public T port(Integer port)
InstanceRequest.getPort()
public T characterSet(String characterSet)
InstanceRequest.getCharacterSet()
public T backupRetentionPeriod(int backupRetentionPeriod)
public T optionGroup(String optionGroup)
InstanceRequest.getOptionGroup()
public T parameterGroup(String parameterGroup)
InstanceRequest.getParameterGroup()
public T autoMinorVersionUpgrade(boolean autoMinorVersionUpgrade)
public T subnetGroup(String subnetGroup)
InstanceRequest.getSubnetGroup()
public T securityGroups(Iterable<String> securityGroups)
InstanceRequest.getSecurityGroups()
public T securityGroup(String securityGroupName)
InstanceRequest.getSecurityGroups()
public T masterPassword(String masterPassword)
InstanceRequest.getMasterPassword()
public InstanceRequest build()
build
in class BaseInstance.Builder<T extends InstanceRequest.Builder<T>>
public T fromInstance(InstanceRequest in)
Copyright © 2009-2013 jclouds. All Rights Reserved.