@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 Amazon Web Services Lambda function.
|
String |
getLambdaCode()
The status of Amazon Inspector scanning for custom application code for Amazon Web Services Lambda functions.
|
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.
|
void |
setLambda(String lambda)
The status of Amazon Inspector scanning for Amazon Web Services Lambda function.
|
void |
setLambdaCode(String lambdaCode)
The status of Amazon Inspector scanning for custom application code for Amazon Web Services Lambda functions.
|
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 Amazon Web Services Lambda function.
|
ResourceStatus |
withLambda(String lambda)
The status of Amazon Inspector scanning for Amazon Web Services Lambda function.
|
ResourceStatus |
withLambdaCode(Status lambdaCode)
The status of Amazon Inspector scanning for custom application code for Amazon Web Services Lambda functions.
|
ResourceStatus |
withLambdaCode(String lambdaCode)
The status of Amazon Inspector scanning for custom application code for Amazon Web Services Lambda functions.
|
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 Amazon Web Services Lambda function.
lambda - The status of Amazon Inspector scanning for Amazon Web Services Lambda function.Statuspublic String getLambda()
The status of Amazon Inspector scanning for Amazon Web Services Lambda function.
Statuspublic ResourceStatus withLambda(String lambda)
The status of Amazon Inspector scanning for Amazon Web Services Lambda function.
lambda - The status of Amazon Inspector scanning for Amazon Web Services Lambda function.Statuspublic ResourceStatus withLambda(Status lambda)
The status of Amazon Inspector scanning for Amazon Web Services Lambda function.
lambda - The status of Amazon Inspector scanning for Amazon Web Services Lambda function.Statuspublic void setLambdaCode(String lambdaCode)
The status of Amazon Inspector scanning for custom application code for Amazon Web Services Lambda functions.
lambdaCode - The status of Amazon Inspector scanning for custom application code for Amazon Web Services Lambda
functions.Statuspublic String getLambdaCode()
The status of Amazon Inspector scanning for custom application code for Amazon Web Services Lambda functions.
Statuspublic ResourceStatus withLambdaCode(String lambdaCode)
The status of Amazon Inspector scanning for custom application code for Amazon Web Services Lambda functions.
lambdaCode - The status of Amazon Inspector scanning for custom application code for Amazon Web Services Lambda
functions.Statuspublic ResourceStatus withLambdaCode(Status lambdaCode)
The status of Amazon Inspector scanning for custom application code for Amazon Web Services Lambda functions.
lambdaCode - The status of Amazon Inspector scanning for custom application code for Amazon Web Services Lambda
functions.Statuspublic String toString()
toString in class ObjectObject.toString()public ResourceStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.