Class SecurityGroupResource


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.4.0")
    public class SecurityGroupResource
    extends Object
    Security Group
    • Constructor Detail

      • SecurityGroupResource

        public SecurityGroupResource()
      • SecurityGroupResource

        public SecurityGroupResource​(UUID id)
    • Method Detail

      • getId

        @Nullable
        public UUID getId()
        Security Group ID
        Returns:
        id
      • getName

        @Nullable
        public String getName()
        Security Group name
        Returns:
        name
      • setName

        public void setName​(String name)
      • getVisibility

        @Nullable
        public SecurityGroupResource.VisibilityEnum getVisibility()
        Whether this points to a public security group. This is only valid when in the context of a rule addition which uses a public security group as a source or destination.
        Returns:
        visibility
      • equals

        public boolean equals​(Object o)
        Return true if this security-group-resource object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toUrlQueryString

        public String toUrlQueryString()
        Convert the instance into URL query string.
        Returns:
        URL query string
      • toUrlQueryString

        public String toUrlQueryString​(String prefix)
        Convert the instance into URL query string.
        Parameters:
        prefix - prefix of the query string
        Returns:
        URL query string