Class RulesPackage

java.lang.Object
com.amazonaws.services.inspector.model.RulesPackage
All Implemented Interfaces:
Serializable, Cloneable

public class RulesPackage extends Object implements Serializable, Cloneable

Contains information about an Amazon Inspector rules package. This data type is used as the response element in the DescribeRulesPackages action.

See Also:
  • Constructor Details

    • RulesPackage

      public RulesPackage()
  • Method Details

    • setArn

      public void setArn(String arn)

      The ARN of the rules package.

      Parameters:
      arn - The ARN of the rules package.
    • getArn

      public String getArn()

      The ARN of the rules package.

      Returns:
      The ARN of the rules package.
    • withArn

      public RulesPackage withArn(String arn)

      The ARN of the rules package.

      Parameters:
      arn - The ARN of the rules package.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setName

      public void setName(String name)

      The name of the rules package.

      Parameters:
      name - The name of the rules package.
    • getName

      public String getName()

      The name of the rules package.

      Returns:
      The name of the rules package.
    • withName

      public RulesPackage withName(String name)

      The name of the rules package.

      Parameters:
      name - The name of the rules package.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setVersion

      public void setVersion(String version)

      The version ID of the rules package.

      Parameters:
      version - The version ID of the rules package.
    • getVersion

      public String getVersion()

      The version ID of the rules package.

      Returns:
      The version ID of the rules package.
    • withVersion

      public RulesPackage withVersion(String version)

      The version ID of the rules package.

      Parameters:
      version - The version ID of the rules package.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setProvider

      public void setProvider(String provider)

      The provider of the rules package.

      Parameters:
      provider - The provider of the rules package.
    • getProvider

      public String getProvider()

      The provider of the rules package.

      Returns:
      The provider of the rules package.
    • withProvider

      public RulesPackage withProvider(String provider)

      The provider of the rules package.

      Parameters:
      provider - The provider of the rules package.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDescription

      public void setDescription(String description)

      The description of the rules package.

      Parameters:
      description - The description of the rules package.
    • getDescription

      public String getDescription()

      The description of the rules package.

      Returns:
      The description of the rules package.
    • withDescription

      public RulesPackage withDescription(String description)

      The description of the rules package.

      Parameters:
      description - The description of the rules package.
      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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

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

      public RulesPackage clone()
      Overrides:
      clone in class Object