Class CreateSubnetRequest
java.lang.Object
com.exoscale.sdk.model.CreateSubnetRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class CreateSubnetRequest
extends Object
CreateSubnetRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhether the subnet supports IPv4 and/or IPv6static enumWhether the subnet is private or public -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddressfamily(CreateSubnetRequest.AddressfamilyEnum addressfamily) addressSpace(CreateSubnetRequest.AddressSpaceEnum addressSpace) description(String description) booleanReturn true if this create_subnet_request object is equal to o.Whether the subnet supports IPv4 and/or IPv6Whether the subnet is private or publicGet descriptionSubnet ipv4 CIDR.Get labelsgetName()Subnet name, up to 255 characters.inthashCode()putLabelsItem(String key, String labelsItem) voidsetAddressfamily(CreateSubnetRequest.AddressfamilyEnum addressfamily) voidsetAddressSpace(CreateSubnetRequest.AddressSpaceEnum addressSpace) voidsetDescription(String description) voidsetIpv4Block(String ipv4Block) voidvoidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_LABELS
- See Also:
-
JSON_PROPERTY_ADDRESSFAMILY
- See Also:
-
JSON_PROPERTY_ADDRESS_SPACE
- See Also:
-
JSON_PROPERTY_IPV4_BLOCK
- See Also:
-
-
Constructor Details
-
CreateSubnetRequest
public CreateSubnetRequest()
-
-
Method Details
-
name
-
getName
Subnet name, up to 255 characters. Must be unique between the subnet of the parent VPC- Returns:
- name
-
setName
-
description
-
getDescription
-
setDescription
-
labels
-
putLabelsItem
-
getLabels
-
setLabels
-
addressfamily
-
getAddressfamily
Whether the subnet supports IPv4 and/or IPv6- Returns:
- addressfamily
-
setAddressfamily
-
addressSpace
-
getAddressSpace
Whether the subnet is private or public- Returns:
- addressSpace
-
setAddressSpace
-
ipv4Block
-
getIpv4Block
Subnet ipv4 CIDR. Must not overlap with other CIDRs of this VPC- Returns:
- ipv4Block
-
setIpv4Block
-
equals
-
hashCode
-
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
-