Class EC2SecurityGroup

    • Method Detail

      • status

        public final String status()

        Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".

        Returns:
        Provides the status of the EC2 security group. Status can be "authorizing", "authorized", "revoking", and "revoked".
      • ec2SecurityGroupName

        public final String ec2SecurityGroupName()

        Specifies the name of the EC2 security group.

        Returns:
        Specifies the name of the EC2 security group.
      • ec2SecurityGroupId

        public final String ec2SecurityGroupId()

        Specifies the id of the EC2 security group.

        Returns:
        Specifies the id of the EC2 security group.
      • ec2SecurityGroupOwnerId

        public final String ec2SecurityGroupOwnerId()

        Specifies the Amazon Web Services ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.

        Returns:
        Specifies the Amazon Web Services ID of the owner of the EC2 security group specified in the EC2SecurityGroupName field.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)