@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.
|
String |
getLambda()
The status of Amazon Inspector scanning for AWS Lambda function 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.
|
void |
setLambda(String lambda)
The status of Amazon Inspector scanning for AWS Lambda function 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.
|
ResourceStatus |
withLambda(Status lambda)
The status of Amazon Inspector scanning for AWS Lambda function resources.
|
ResourceStatus |
withLambda(String lambda)
The status of Amazon Inspector scanning for AWS Lambda function 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 void setLambda(String lambda)
The status of Amazon Inspector scanning for AWS Lambda function resources.
lambda - The status of Amazon Inspector scanning for AWS Lambda function resources.Statuspublic String getLambda()
The status of Amazon Inspector scanning for AWS Lambda function resources.
Statuspublic ResourceStatus withLambda(String lambda)
The status of Amazon Inspector scanning for AWS Lambda function resources.
lambda - The status of Amazon Inspector scanning for AWS Lambda function resources.Statuspublic ResourceStatus withLambda(Status lambda)
The status of Amazon Inspector scanning for AWS Lambda function resources.
lambda - The status of Amazon Inspector scanning for AWS Lambda function resources.Statuspublic String toString()
toString in class ObjectObject.toString()public ResourceStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.