Class RulesPackage
java.lang.Object
com.amazonaws.services.inspector.model.RulesPackage
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getArn()
The ARN of the rules package.The description of the rules package.getName()
The name of the rules package.The provider of the rules package.The version ID of the rules package.int
hashCode()
void
The ARN of the rules package.void
setDescription
(String description) The description of the rules package.void
The name of the rules package.void
setProvider
(String provider) The provider of the rules package.void
setVersion
(String version) The version ID of the rules package.toString()
Returns a string representation of this object; useful for testing and debugging.The ARN of the rules package.withDescription
(String description) The description of the rules package.The name of the rules package.withProvider
(String provider) The provider of the rules package.withVersion
(String version) The version ID of the rules package.
-
Constructor Details
-
RulesPackage
public RulesPackage()
-
-
Method Details
-
setArn
The ARN of the rules package.
- Parameters:
arn
- The ARN of the rules package.
-
getArn
The ARN of the rules package.
- Returns:
- The ARN of the rules package.
-
withArn
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
The name of the rules package.
- Parameters:
name
- The name of the rules package.
-
getName
The name of the rules package.
- Returns:
- The name of the rules package.
-
withName
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
The version ID of the rules package.
- Parameters:
version
- The version ID of the rules package.
-
getVersion
The version ID of the rules package.
- Returns:
- The version ID of the rules package.
-
withVersion
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
The provider of the rules package.
- Parameters:
provider
- The provider of the rules package.
-
getProvider
The provider of the rules package.
- Returns:
- The provider of the rules package.
-
withProvider
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
The description of the rules package.
- Parameters:
description
- The description of the rules package.
-
getDescription
The description of the rules package.
- Returns:
- The description of the rules package.
-
withDescription
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-