Package com.exoscale.sdk.model
Class UpdateInstancePoolRequest
- java.lang.Object
-
- com.exoscale.sdk.model.UpdateInstancePoolRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class UpdateInstancePoolRequest extends Object
UpdateInstancePoolRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateInstancePoolRequest.PublicIpAssignmentEnum
Determines public IP assignment of the Instances.
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_ANTI_AFFINITY_GROUPS
static String
JSON_PROPERTY_DEPLOY_TARGET
static String
JSON_PROPERTY_DESCRIPTION
static String
JSON_PROPERTY_DISK_SIZE
static String
JSON_PROPERTY_ELASTIC_IPS
static String
JSON_PROPERTY_INSTANCE_PREFIX
static String
JSON_PROPERTY_INSTANCE_TYPE
static String
JSON_PROPERTY_IPV6_ENABLED
static String
JSON_PROPERTY_LABELS
static String
JSON_PROPERTY_MIN_AVAILABLE
static String
JSON_PROPERTY_NAME
static String
JSON_PROPERTY_PRIVATE_NETWORKS
static String
JSON_PROPERTY_PUBLIC_IP_ASSIGNMENT
static String
JSON_PROPERTY_SECURITY_GROUPS
static String
JSON_PROPERTY_SSH_KEY
static String
JSON_PROPERTY_SSH_KEYS
static String
JSON_PROPERTY_TEMPLATE
static String
JSON_PROPERTY_USER_DATA
-
Constructor Summary
Constructors Constructor Description UpdateInstancePoolRequest()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ANTI_AFFINITY_GROUPS
public static final String JSON_PROPERTY_ANTI_AFFINITY_GROUPS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PUBLIC_IP_ASSIGNMENT
public static final String JSON_PROPERTY_PUBLIC_IP_ASSIGNMENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LABELS
public static final String JSON_PROPERTY_LABELS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SECURITY_GROUPS
public static final String JSON_PROPERTY_SECURITY_GROUPS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ELASTIC_IPS
public static final String JSON_PROPERTY_ELASTIC_IPS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INSTANCE_TYPE
public static final String JSON_PROPERTY_INSTANCE_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MIN_AVAILABLE
public static final String JSON_PROPERTY_MIN_AVAILABLE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PRIVATE_NETWORKS
public static final String JSON_PROPERTY_PRIVATE_NETWORKS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TEMPLATE
public static final String JSON_PROPERTY_TEMPLATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SSH_KEY
public static final String JSON_PROPERTY_SSH_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INSTANCE_PREFIX
public static final String JSON_PROPERTY_INSTANCE_PREFIX
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USER_DATA
public static final String JSON_PROPERTY_USER_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DEPLOY_TARGET
public static final String JSON_PROPERTY_DEPLOY_TARGET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IPV6_ENABLED
public static final String JSON_PROPERTY_IPV6_ENABLED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DISK_SIZE
public static final String JSON_PROPERTY_DISK_SIZE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SSH_KEYS
public static final String JSON_PROPERTY_SSH_KEYS
- See Also:
- Constant Field Values
-
-
Method Detail
-
antiAffinityGroups
public UpdateInstancePoolRequest antiAffinityGroups(Set<AntiAffinityGroup> antiAffinityGroups)
-
addAntiAffinityGroupsItem
public UpdateInstancePoolRequest addAntiAffinityGroupsItem(AntiAffinityGroup antiAffinityGroupsItem)
-
getAntiAffinityGroups
@Nullable public Set<AntiAffinityGroup> getAntiAffinityGroups()
Instance Pool Anti-affinity Groups- Returns:
- antiAffinityGroups
-
getAntiAffinityGroups_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<Set<AntiAffinityGroup>> getAntiAffinityGroups_JsonNullable()
-
setAntiAffinityGroups_JsonNullable
public void setAntiAffinityGroups_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Set<AntiAffinityGroup>> antiAffinityGroups)
-
setAntiAffinityGroups
public void setAntiAffinityGroups(Set<AntiAffinityGroup> antiAffinityGroups)
-
description
public UpdateInstancePoolRequest description(String description)
-
getDescription
@Nullable public String getDescription()
Instance Pool description- Returns:
- description
-
setDescription
public void setDescription(String description)
-
publicIpAssignment
public UpdateInstancePoolRequest publicIpAssignment(UpdateInstancePoolRequest.PublicIpAssignmentEnum publicIpAssignment)
-
getPublicIpAssignment
@Nullable public UpdateInstancePoolRequest.PublicIpAssignmentEnum getPublicIpAssignment()
Determines public IP assignment of the Instances.- Returns:
- publicIpAssignment
-
setPublicIpAssignment
public void setPublicIpAssignment(UpdateInstancePoolRequest.PublicIpAssignmentEnum publicIpAssignment)
-
labels
public UpdateInstancePoolRequest labels(Map<String,String> labels)
-
putLabelsItem
public UpdateInstancePoolRequest putLabelsItem(String key, String labelsItem)
-
securityGroups
public UpdateInstancePoolRequest securityGroups(Set<SecurityGroup> securityGroups)
-
addSecurityGroupsItem
public UpdateInstancePoolRequest addSecurityGroupsItem(SecurityGroup securityGroupsItem)
-
getSecurityGroups
@Nullable public Set<SecurityGroup> getSecurityGroups()
Instance Pool Security Groups- Returns:
- securityGroups
-
getSecurityGroups_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<Set<SecurityGroup>> getSecurityGroups_JsonNullable()
-
setSecurityGroups_JsonNullable
public void setSecurityGroups_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Set<SecurityGroup>> securityGroups)
-
setSecurityGroups
public void setSecurityGroups(Set<SecurityGroup> securityGroups)
-
elasticIps
public UpdateInstancePoolRequest elasticIps(List<ElasticIp> elasticIps)
-
addElasticIpsItem
public UpdateInstancePoolRequest addElasticIpsItem(ElasticIp elasticIpsItem)
-
getElasticIps
@Nullable public List<ElasticIp> getElasticIps()
Instances Elastic IPs- Returns:
- elasticIps
-
getElasticIps_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<List<ElasticIp>> getElasticIps_JsonNullable()
-
setElasticIps_JsonNullable
public void setElasticIps_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<ElasticIp>> elasticIps)
-
name
public UpdateInstancePoolRequest name(String name)
-
getName
@Nullable public String getName()
Instance Pool name- Returns:
- name
-
setName
public void setName(String name)
-
instanceType
public UpdateInstancePoolRequest instanceType(InstanceType instanceType)
-
getInstanceType
@Nullable public InstanceType getInstanceType()
Get instanceType- Returns:
- instanceType
-
setInstanceType
public void setInstanceType(InstanceType instanceType)
-
minAvailable
public UpdateInstancePoolRequest minAvailable(Long minAvailable)
-
getMinAvailable
@Nullable public Long getMinAvailable()
Minimum number of running Instances minimum: 0- Returns:
- minAvailable
-
getMinAvailable_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<Long> getMinAvailable_JsonNullable()
-
setMinAvailable_JsonNullable
public void setMinAvailable_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> minAvailable)
-
setMinAvailable
public void setMinAvailable(Long minAvailable)
-
privateNetworks
public UpdateInstancePoolRequest privateNetworks(Set<PrivateNetwork> privateNetworks)
-
addPrivateNetworksItem
public UpdateInstancePoolRequest addPrivateNetworksItem(PrivateNetwork privateNetworksItem)
-
getPrivateNetworks
@Nullable public Set<PrivateNetwork> getPrivateNetworks()
Instance Pool Private Networks- Returns:
- privateNetworks
-
getPrivateNetworks_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<Set<PrivateNetwork>> getPrivateNetworks_JsonNullable()
-
setPrivateNetworks_JsonNullable
public void setPrivateNetworks_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Set<PrivateNetwork>> privateNetworks)
-
setPrivateNetworks
public void setPrivateNetworks(Set<PrivateNetwork> privateNetworks)
-
template
public UpdateInstancePoolRequest template(Template template)
-
getTemplate
@Nullable public Template getTemplate()
Get template- Returns:
- template
-
setTemplate
public void setTemplate(Template template)
-
sshKey
public UpdateInstancePoolRequest sshKey(SshKey sshKey)
-
getSshKey
@Nullable public SshKey getSshKey()
Get sshKey- Returns:
- sshKey
-
setSshKey
public void setSshKey(SshKey sshKey)
-
instancePrefix
public UpdateInstancePoolRequest instancePrefix(String instancePrefix)
-
getInstancePrefix
@Nullable public String getInstancePrefix()
Prefix to apply to Instances names (default: pool)- Returns:
- instancePrefix
-
getInstancePrefix_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<String> getInstancePrefix_JsonNullable()
-
setInstancePrefix_JsonNullable
public void setInstancePrefix_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> instancePrefix)
-
setInstancePrefix
public void setInstancePrefix(String instancePrefix)
-
userData
public UpdateInstancePoolRequest userData(String userData)
-
getUserData
@Nullable public String getUserData()
Instances Cloud-init user-data- Returns:
- userData
-
getUserData_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<String> getUserData_JsonNullable()
-
setUserData_JsonNullable
public void setUserData_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> userData)
-
setUserData
public void setUserData(String userData)
-
deployTarget
public UpdateInstancePoolRequest deployTarget(DeployTarget deployTarget)
-
getDeployTarget
@Nullable public DeployTarget getDeployTarget()
Get deployTarget- Returns:
- deployTarget
-
setDeployTarget
public void setDeployTarget(DeployTarget deployTarget)
-
ipv6Enabled
public UpdateInstancePoolRequest ipv6Enabled(Boolean ipv6Enabled)
-
getIpv6Enabled
@Nullable public Boolean getIpv6Enabled()
Enable IPv6. DEPRECATED: use `public-ip-assignments`.- Returns:
- ipv6Enabled
-
setIpv6Enabled
public void setIpv6Enabled(Boolean ipv6Enabled)
-
diskSize
public UpdateInstancePoolRequest diskSize(Long diskSize)
-
getDiskSize
@Nullable public Long getDiskSize()
Instances disk size in GiB minimum: 10 maximum: 51200- Returns:
- diskSize
-
setDiskSize
public void setDiskSize(Long diskSize)
-
sshKeys
public UpdateInstancePoolRequest sshKeys(Set<SshKey> sshKeys)
-
addSshKeysItem
public UpdateInstancePoolRequest addSshKeysItem(SshKey sshKeysItem)
-
getSshKeys_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<Set<SshKey>> getSshKeys_JsonNullable()
-
setSshKeys_JsonNullable
public void setSshKeys_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Set<SshKey>> sshKeys)
-
equals
public boolean equals(Object o)
Return true if this update_instance_pool_request object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-