Package com.exoscale.sdk.model
Class SecurityGroup
java.lang.Object
com.exoscale.sdk.model.SecurityGroup
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class SecurityGroup
extends Object
Security Group
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddExternalSourcesItem
(String externalSourcesItem) addRulesItem
(SecurityGroupRule rulesItem) description
(String description) boolean
Return true if this security-group object is equal to o.externalSources
(Set<String> externalSources) Security Group descriptionSecurity Group external sourcesgetId()
Security Group IDgetName()
Security Group namegetRules()
Security Group rulesint
hashCode()
rules
(Set<SecurityGroupRule> rules) void
setDescription
(String description) void
setExternalSources
(Set<String> externalSources) void
void
setRules
(Set<SecurityGroupRule> rules) toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_EXTERNAL_SOURCES
- See Also:
-
JSON_PROPERTY_RULES
- See Also:
-
-
Constructor Details
-
SecurityGroup
public SecurityGroup() -
SecurityGroup
-
-
Method Details
-
getId
Security Group ID- Returns:
- id
-
name
-
getName
Security Group name- Returns:
- name
-
setName
-
description
-
getDescription
Security Group description- Returns:
- description
-
setDescription
-
externalSources
-
addExternalSourcesItem
-
getExternalSources
Security Group external sources- Returns:
- externalSources
-
setExternalSources
-
rules
-
addRulesItem
-
getRules
Security Group rules- Returns:
- rules
-
setRules
-
equals
Return true if this security-group object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-