@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoEnable extends Object implements Serializable, Cloneable, StructuredPojo
Represents which scan types are automatically enabled for new members of your Amazon Inspector organization.
Constructor and Description |
---|
AutoEnable() |
Modifier and Type | Method and Description |
---|---|
AutoEnable |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEc2()
Represents whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector
organization.
|
Boolean |
getEcr()
Represents whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector
organization.
|
Boolean |
getLambda()
Represents whether Amazon Web Services Lambda standard scans are automatically enabled for new members of your
Amazon Inspector organization.
|
Boolean |
getLambdaCode()
Represents whether Lambda code scans are automatically enabled for new members of your Amazon Inspector
organization.
|
int |
hashCode() |
Boolean |
isEc2()
Represents whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector
organization.
|
Boolean |
isEcr()
Represents whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector
organization.
|
Boolean |
isLambda()
Represents whether Amazon Web Services Lambda standard scans are automatically enabled for new members of your
Amazon Inspector organization.
|
Boolean |
isLambdaCode()
Represents whether Lambda code scans are automatically enabled for new members of your Amazon Inspector
organization.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEc2(Boolean ec2)
Represents whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector
organization.
|
void |
setEcr(Boolean ecr)
Represents whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector
organization.
|
void |
setLambda(Boolean lambda)
Represents whether Amazon Web Services Lambda standard scans are automatically enabled for new members of your
Amazon Inspector organization.
|
void |
setLambdaCode(Boolean lambdaCode)
Represents whether Lambda code scans are automatically enabled for new members of your Amazon Inspector
organization.
|
String |
toString()
Returns a string representation of this object.
|
AutoEnable |
withEc2(Boolean ec2)
Represents whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector
organization.
|
AutoEnable |
withEcr(Boolean ecr)
Represents whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector
organization.
|
AutoEnable |
withLambda(Boolean lambda)
Represents whether Amazon Web Services Lambda standard scans are automatically enabled for new members of your
Amazon Inspector organization.
|
AutoEnable |
withLambdaCode(Boolean lambdaCode)
Represents whether Lambda code scans are automatically enabled for new members of your Amazon Inspector
organization.
|
public void setEc2(Boolean ec2)
Represents whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector organization.
ec2
- Represents whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector
organization.public Boolean getEc2()
Represents whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector organization.
public AutoEnable withEc2(Boolean ec2)
Represents whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector organization.
ec2
- Represents whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector
organization.public Boolean isEc2()
Represents whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector organization.
public void setEcr(Boolean ecr)
Represents whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector organization.
ecr
- Represents whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector
organization.public Boolean getEcr()
Represents whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector organization.
public AutoEnable withEcr(Boolean ecr)
Represents whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector organization.
ecr
- Represents whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector
organization.public Boolean isEcr()
Represents whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector organization.
public void setLambda(Boolean lambda)
Represents whether Amazon Web Services Lambda standard scans are automatically enabled for new members of your Amazon Inspector organization.
lambda
- Represents whether Amazon Web Services Lambda standard scans are automatically enabled for new members of
your Amazon Inspector organization.public Boolean getLambda()
Represents whether Amazon Web Services Lambda standard scans are automatically enabled for new members of your Amazon Inspector organization.
public AutoEnable withLambda(Boolean lambda)
Represents whether Amazon Web Services Lambda standard scans are automatically enabled for new members of your Amazon Inspector organization.
lambda
- Represents whether Amazon Web Services Lambda standard scans are automatically enabled for new members of
your Amazon Inspector organization.public Boolean isLambda()
Represents whether Amazon Web Services Lambda standard scans are automatically enabled for new members of your Amazon Inspector organization.
public void setLambdaCode(Boolean lambdaCode)
Represents whether Lambda code scans are automatically enabled for new members of your Amazon Inspector organization.
</p>
lambdaCode
- Represents whether Lambda code scans are automatically enabled for new members of your Amazon Inspector
organization.
</p>
public Boolean getLambdaCode()
Represents whether Lambda code scans are automatically enabled for new members of your Amazon Inspector organization.
</p>
</p>
public AutoEnable withLambdaCode(Boolean lambdaCode)
Represents whether Lambda code scans are automatically enabled for new members of your Amazon Inspector organization.
</p>
lambdaCode
- Represents whether Lambda code scans are automatically enabled for new members of your Amazon Inspector
organization.
</p>
@return Returns a reference to this object so that method calls can be chained
together.
public Boolean isLambdaCode()
Represents whether Lambda code scans are automatically enabled for new members of your Amazon Inspector organization.
</p>
</p>
public String toString()
toString
in class Object
Object.toString()
public AutoEnable clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.