@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceStatus extends Object implements Serializable, Cloneable, StructuredPojo
Details the status of Amazon Inspector for each resource type Amazon Inspector scans.
| Constructor and Description |
|---|
ResourceStatus() |
| Modifier and Type | Method and Description |
|---|---|
ResourceStatus |
clone() |
boolean |
equals(Object obj) |
String |
getEc2()
The status of Amazon Inspector scanning for Amazon EC2 resources.
|
String |
getEcr()
The status of Amazon Inspector scanning for Amazon ECR resources.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEc2(String ec2)
The status of Amazon Inspector scanning for Amazon EC2 resources.
|
void |
setEcr(String ecr)
The status of Amazon Inspector scanning for Amazon ECR resources.
|
String |
toString()
Returns a string representation of this object.
|
ResourceStatus |
withEc2(Status ec2)
The status of Amazon Inspector scanning for Amazon EC2 resources.
|
ResourceStatus |
withEc2(String ec2)
The status of Amazon Inspector scanning for Amazon EC2 resources.
|
ResourceStatus |
withEcr(Status ecr)
The status of Amazon Inspector scanning for Amazon ECR resources.
|
ResourceStatus |
withEcr(String ecr)
The status of Amazon Inspector scanning for Amazon ECR resources.
|
public void setEc2(String ec2)
The status of Amazon Inspector scanning for Amazon EC2 resources.
ec2 - The status of Amazon Inspector scanning for Amazon EC2 resources.Statuspublic String getEc2()
The status of Amazon Inspector scanning for Amazon EC2 resources.
Statuspublic ResourceStatus withEc2(String ec2)
The status of Amazon Inspector scanning for Amazon EC2 resources.
ec2 - The status of Amazon Inspector scanning for Amazon EC2 resources.Statuspublic ResourceStatus withEc2(Status ec2)
The status of Amazon Inspector scanning for Amazon EC2 resources.
ec2 - The status of Amazon Inspector scanning for Amazon EC2 resources.Statuspublic void setEcr(String ecr)
The status of Amazon Inspector scanning for Amazon ECR resources.
ecr - The status of Amazon Inspector scanning for Amazon ECR resources.Statuspublic String getEcr()
The status of Amazon Inspector scanning for Amazon ECR resources.
Statuspublic ResourceStatus withEcr(String ecr)
The status of Amazon Inspector scanning for Amazon ECR resources.
ecr - The status of Amazon Inspector scanning for Amazon ECR resources.Statuspublic ResourceStatus withEcr(Status ecr)
The status of Amazon Inspector scanning for Amazon ECR resources.
ecr - The status of Amazon Inspector scanning for Amazon ECR resources.Statuspublic String toString()
toString in class ObjectObject.toString()public ResourceStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.