@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceState extends Object implements Serializable, Cloneable, StructuredPojo
Details the state of Amazon Inspector for each resource type Amazon Inspector scans.
Constructor and Description |
---|
ResourceState() |
Modifier and Type | Method and Description |
---|---|
ResourceState |
clone() |
boolean |
equals(Object obj) |
State |
getEc2()
An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.
|
State |
getEcr()
An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEc2(State ec2)
An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.
|
void |
setEcr(State ecr)
An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.
|
String |
toString()
Returns a string representation of this object.
|
ResourceState |
withEc2(State ec2)
An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.
|
ResourceState |
withEcr(State ecr)
An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.
|
public void setEc2(State ec2)
An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.
ec2
- An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.public State getEc2()
An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.
public ResourceState withEc2(State ec2)
An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.
ec2
- An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.public void setEcr(State ecr)
An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.
ecr
- An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.public State getEcr()
An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.
public ResourceState withEcr(State ecr)
An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.
ecr
- An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.public String toString()
toString
in class Object
Object.toString()
public ResourceState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.