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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RulesPackage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RulesPackage
clone()
boolean
equals(Object obj)
String
getArn()
The ARN of the rules package.String
getDescription()
The description of the rules package.String
getName()
The name of the rules package.String
getProvider()
The provider of the rules package.String
getVersion()
The version ID of the rules package.int
hashCode()
void
setArn(String arn)
The ARN of the rules package.void
setDescription(String description)
The description of the rules package.void
setName(String name)
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.RulesPackage
withArn(String arn)
The ARN of the rules package.RulesPackage
withDescription(String description)
The description of the rules package.RulesPackage
withName(String name)
The name of the rules package.RulesPackage
withProvider(String provider)
The provider of the rules package.RulesPackage
withVersion(String version)
The version ID of the rules package.
-
-
-
Method Detail
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RulesPackage clone()
-
-