@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RulesPackage extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an Amazon Inspector rules package. This data type is used as the response element in the DescribeRulesPackages action.
Constructor and Description |
---|
RulesPackage() |
Modifier and Type | Method and 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
public void setArn(String arn)
The ARN of the rules package.
arn
- The ARN of the rules package.public String getArn()
The ARN of the rules package.
public RulesPackage withArn(String arn)
The ARN of the rules package.
arn
- The ARN of the rules package.public void setName(String name)
The name of the rules package.
name
- The name of the rules package.public String getName()
The name of the rules package.
public RulesPackage withName(String name)
The name of the rules package.
name
- The name of the rules package.public void setVersion(String version)
The version ID of the rules package.
version
- The version ID of the rules package.public String getVersion()
The version ID of the rules package.
public RulesPackage withVersion(String version)
The version ID of the rules package.
version
- The version ID of the rules package.public void setProvider(String provider)
The provider of the rules package.
provider
- The provider of the rules package.public String getProvider()
The provider of the rules package.
public RulesPackage withProvider(String provider)
The provider of the rules package.
provider
- The provider of the rules package.public void setDescription(String description)
The description of the rules package.
description
- The description of the rules package.public String getDescription()
The description of the rules package.
public RulesPackage withDescription(String description)
The description of the rules package.
description
- The description of the rules package.public String toString()
toString
in class Object
Object.toString()
public RulesPackage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.