public class RulesPackage
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains information about an Amazon Inspector rules package. This data type is used as the response element in the DescribeRulesPackages action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
arn
The ARN of the rules package.
|
private java.lang.String |
description
The description of the rules package.
|
private java.lang.String |
name
The name of the rules package.
|
private java.lang.String |
provider
The provider of the rules package.
|
private java.lang.String |
version
The version ID of the rules package.
|
Constructor and Description |
---|
RulesPackage() |
Modifier and Type | Method and Description |
---|---|
RulesPackage |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArn()
The ARN of the rules package.
|
java.lang.String |
getDescription()
The description of the rules package.
|
java.lang.String |
getName()
The name of the rules package.
|
java.lang.String |
getProvider()
The provider of the rules package.
|
java.lang.String |
getVersion()
The version ID of the rules package.
|
int |
hashCode() |
void |
setArn(java.lang.String arn)
The ARN of the rules package.
|
void |
setDescription(java.lang.String description)
The description of the rules package.
|
void |
setName(java.lang.String name)
The name of the rules package.
|
void |
setProvider(java.lang.String provider)
The provider of the rules package.
|
void |
setVersion(java.lang.String version)
The version ID of the rules package.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RulesPackage |
withArn(java.lang.String arn)
The ARN of the rules package.
|
RulesPackage |
withDescription(java.lang.String description)
The description of the rules package.
|
RulesPackage |
withName(java.lang.String name)
The name of the rules package.
|
RulesPackage |
withProvider(java.lang.String provider)
The provider of the rules package.
|
RulesPackage |
withVersion(java.lang.String version)
The version ID of the rules package.
|
private java.lang.String arn
The ARN of the rules package.
private java.lang.String name
The name of the rules package.
private java.lang.String version
The version ID of the rules package.
private java.lang.String provider
The provider of the rules package.
private java.lang.String description
The description of the rules package.
public void setArn(java.lang.String arn)
The ARN of the rules package.
arn
- The ARN of the rules package.public java.lang.String getArn()
The ARN of the rules package.
public RulesPackage withArn(java.lang.String arn)
The ARN of the rules package.
arn
- The ARN of the rules package.public void setName(java.lang.String name)
The name of the rules package.
name
- The name of the rules package.public java.lang.String getName()
The name of the rules package.
public RulesPackage withName(java.lang.String name)
The name of the rules package.
name
- The name of the rules package.public void setVersion(java.lang.String version)
The version ID of the rules package.
version
- The version ID of the rules package.public java.lang.String getVersion()
The version ID of the rules package.
public RulesPackage withVersion(java.lang.String version)
The version ID of the rules package.
version
- The version ID of the rules package.public void setProvider(java.lang.String provider)
The provider of the rules package.
provider
- The provider of the rules package.public java.lang.String getProvider()
The provider of the rules package.
public RulesPackage withProvider(java.lang.String provider)
The provider of the rules package.
provider
- The provider of the rules package.public void setDescription(java.lang.String description)
The description of the rules package.
description
- The description of the rules package.public java.lang.String getDescription()
The description of the rules package.
public RulesPackage withDescription(java.lang.String description)
The description of the rules package.
description
- The description of the rules package.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RulesPackage clone()
clone
in class java.lang.Object