Class DeleteSecurityGroupRequest

    • Constructor Detail

      • DeleteSecurityGroupRequest

        public DeleteSecurityGroupRequest()
        Default constructor for DeleteSecurityGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • DeleteSecurityGroupRequest

        public DeleteSecurityGroupRequest​(String groupName)
        Constructs a new DeleteSecurityGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        groupName - [EC2-Classic, default VPC] The name of the security group. You can specify either the security group name or the security group ID.
    • Method Detail

      • setGroupName

        public void setGroupName​(String groupName)

        [EC2-Classic, default VPC] The name of the security group. You can specify either the security group name or the security group ID.

        Parameters:
        groupName - [EC2-Classic, default VPC] The name of the security group. You can specify either the security group name or the security group ID.
      • getGroupName

        public String getGroupName()

        [EC2-Classic, default VPC] The name of the security group. You can specify either the security group name or the security group ID.

        Returns:
        [EC2-Classic, default VPC] The name of the security group. You can specify either the security group name or the security group ID.
      • withGroupName

        public DeleteSecurityGroupRequest withGroupName​(String groupName)

        [EC2-Classic, default VPC] The name of the security group. You can specify either the security group name or the security group ID.

        Parameters:
        groupName - [EC2-Classic, default VPC] The name of the security group. You can specify either the security group name or the security group ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setGroupId

        public void setGroupId​(String groupId)

        The ID of the security group. Required for a nondefault VPC.

        Parameters:
        groupId - The ID of the security group. Required for a nondefault VPC.
      • getGroupId

        public String getGroupId()

        The ID of the security group. Required for a nondefault VPC.

        Returns:
        The ID of the security group. Required for a nondefault VPC.
      • withGroupId

        public DeleteSecurityGroupRequest withGroupId​(String groupId)

        The ID of the security group. Required for a nondefault VPC.

        Parameters:
        groupId - The ID of the security group. Required for a nondefault VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object