@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.
|
State |
getLambda() |
State |
getLambdaCode() |
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.
|
void |
setLambda(State lambda) |
void |
setLambdaCode(State lambdaCode) |
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.
|
ResourceState |
withLambda(State lambda) |
ResourceState |
withLambdaCode(State lambdaCode) |
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 void setLambda(State lambda)
lambda
- public State getLambda()
public ResourceState withLambda(State lambda)
lambda
- public void setLambdaCode(State lambdaCode)
lambdaCode
- public State getLambdaCode()
public ResourceState withLambdaCode(State lambdaCode)
lambdaCode
- 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.