public class AddAttributesToFindingsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.util.List<Attribute> |
attributes
The array of attributes that you want to assign to specified findings.
|
private java.util.List<java.lang.String> |
findingArns
The ARNs that specify the findings that you want to assign attributes to.
|
NOOP
Constructor and Description |
---|
AddAttributesToFindingsRequest() |
Modifier and Type | Method and Description |
---|---|
AddAttributesToFindingsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<Attribute> |
getAttributes()
The array of attributes that you want to assign to specified findings.
|
java.util.List<java.lang.String> |
getFindingArns()
The ARNs that specify the findings that you want to assign attributes to.
|
int |
hashCode() |
void |
setAttributes(java.util.Collection<Attribute> attributes)
The array of attributes that you want to assign to specified findings.
|
void |
setFindingArns(java.util.Collection<java.lang.String> findingArns)
The ARNs that specify the findings that you want to assign attributes to.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddAttributesToFindingsRequest |
withAttributes(Attribute... attributes)
The array of attributes that you want to assign to specified findings.
|
AddAttributesToFindingsRequest |
withAttributes(java.util.Collection<Attribute> attributes)
The array of attributes that you want to assign to specified findings.
|
AddAttributesToFindingsRequest |
withFindingArns(java.util.Collection<java.lang.String> findingArns)
The ARNs that specify the findings that you want to assign attributes to.
|
AddAttributesToFindingsRequest |
withFindingArns(java.lang.String... findingArns)
The ARNs that specify the findings that you want to assign attributes to.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.util.List<java.lang.String> findingArns
The ARNs that specify the findings that you want to assign attributes to.
private java.util.List<Attribute> attributes
The array of attributes that you want to assign to specified findings.
public java.util.List<java.lang.String> getFindingArns()
The ARNs that specify the findings that you want to assign attributes to.
public void setFindingArns(java.util.Collection<java.lang.String> findingArns)
The ARNs that specify the findings that you want to assign attributes to.
findingArns
- The ARNs that specify the findings that you want to assign
attributes to.public AddAttributesToFindingsRequest withFindingArns(java.lang.String... findingArns)
The ARNs that specify the findings that you want to assign attributes to.
NOTE: This method appends the values to the existing list (if
any). Use setFindingArns(java.util.Collection)
or
withFindingArns(java.util.Collection)
if you want to override
the existing values.
findingArns
- The ARNs that specify the findings that you want to assign
attributes to.public AddAttributesToFindingsRequest withFindingArns(java.util.Collection<java.lang.String> findingArns)
The ARNs that specify the findings that you want to assign attributes to.
findingArns
- The ARNs that specify the findings that you want to assign
attributes to.public java.util.List<Attribute> getAttributes()
The array of attributes that you want to assign to specified findings.
public void setAttributes(java.util.Collection<Attribute> attributes)
The array of attributes that you want to assign to specified findings.
attributes
- The array of attributes that you want to assign to specified
findings.public AddAttributesToFindingsRequest withAttributes(Attribute... attributes)
The array of attributes that you want to assign to specified findings.
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 array of attributes that you want to assign to specified
findings.public AddAttributesToFindingsRequest withAttributes(java.util.Collection<Attribute> attributes)
The array of attributes that you want to assign to specified findings.
attributes
- The array of attributes that you want to assign to specified
findings.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AddAttributesToFindingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()