@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)
Marshalls this structured data using the given
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.Status
public String getEc2()
The status of Amazon Inspector scanning for Amazon EC2 resources.
Status
public 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.Status
public 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.Status
public 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.Status
public String getEcr()
The status of Amazon Inspector scanning for Amazon ECR resources.
Status
public 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.Status
public 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.Status
public String toString()
toString
in class Object
Object.toString()
public ResourceStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.