@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Exclusion extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about what was excluded from an assessment run.
Constructor and Description |
---|
Exclusion() |
Modifier and Type | Method and Description |
---|---|
Exclusion |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN that specifies the exclusion.
|
List<Attribute> |
getAttributes()
The system-defined attributes for the exclusion.
|
String |
getDescription()
The description of the exclusion.
|
String |
getRecommendation()
The recommendation for the exclusion.
|
List<Scope> |
getScopes()
The AWS resources for which the exclusion pertains.
|
String |
getTitle()
The name of the exclusion.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN that specifies the exclusion.
|
void |
setAttributes(Collection<Attribute> attributes)
The system-defined attributes for the exclusion.
|
void |
setDescription(String description)
The description of the exclusion.
|
void |
setRecommendation(String recommendation)
The recommendation for the exclusion.
|
void |
setScopes(Collection<Scope> scopes)
The AWS resources for which the exclusion pertains.
|
void |
setTitle(String title)
The name of the exclusion.
|
String |
toString()
Returns a string representation of this object.
|
Exclusion |
withArn(String arn)
The ARN that specifies the exclusion.
|
Exclusion |
withAttributes(Attribute... attributes)
The system-defined attributes for the exclusion.
|
Exclusion |
withAttributes(Collection<Attribute> attributes)
The system-defined attributes for the exclusion.
|
Exclusion |
withDescription(String description)
The description of the exclusion.
|
Exclusion |
withRecommendation(String recommendation)
The recommendation for the exclusion.
|
Exclusion |
withScopes(Collection<Scope> scopes)
The AWS resources for which the exclusion pertains.
|
Exclusion |
withScopes(Scope... scopes)
The AWS resources for which the exclusion pertains.
|
Exclusion |
withTitle(String title)
The name of the exclusion.
|
public void setArn(String arn)
The ARN that specifies the exclusion.
arn
- The ARN that specifies the exclusion.public String getArn()
The ARN that specifies the exclusion.
public Exclusion withArn(String arn)
The ARN that specifies the exclusion.
arn
- The ARN that specifies the exclusion.public void setTitle(String title)
The name of the exclusion.
title
- The name of the exclusion.public String getTitle()
The name of the exclusion.
public Exclusion withTitle(String title)
The name of the exclusion.
title
- The name of the exclusion.public void setDescription(String description)
The description of the exclusion.
description
- The description of the exclusion.public String getDescription()
The description of the exclusion.
public Exclusion withDescription(String description)
The description of the exclusion.
description
- The description of the exclusion.public void setRecommendation(String recommendation)
The recommendation for the exclusion.
recommendation
- The recommendation for the exclusion.public String getRecommendation()
The recommendation for the exclusion.
public Exclusion withRecommendation(String recommendation)
The recommendation for the exclusion.
recommendation
- The recommendation for the exclusion.public List<Scope> getScopes()
The AWS resources for which the exclusion pertains.
public void setScopes(Collection<Scope> scopes)
The AWS resources for which the exclusion pertains.
scopes
- The AWS resources for which the exclusion pertains.public Exclusion withScopes(Scope... scopes)
The AWS resources for which the exclusion pertains.
NOTE: This method appends the values to the existing list (if any). Use
setScopes(java.util.Collection)
or withScopes(java.util.Collection)
if you want to override the
existing values.
scopes
- The AWS resources for which the exclusion pertains.public Exclusion withScopes(Collection<Scope> scopes)
The AWS resources for which the exclusion pertains.
scopes
- The AWS resources for which the exclusion pertains.public List<Attribute> getAttributes()
The system-defined attributes for the exclusion.
public void setAttributes(Collection<Attribute> attributes)
The system-defined attributes for the exclusion.
attributes
- The system-defined attributes for the exclusion.public Exclusion withAttributes(Attribute... attributes)
The system-defined attributes for the exclusion.
NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection)
or withAttributes(java.util.Collection)
if you want to
override the existing values.
attributes
- The system-defined attributes for the exclusion.public Exclusion withAttributes(Collection<Attribute> attributes)
The system-defined attributes for the exclusion.
attributes
- The system-defined attributes for the exclusion.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.