Class AddAttributesToFindingsRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The array of attributes that you want to assign to specified findings.The ARNs that specify the findings that you want to assign attributes to.int
hashCode()
void
setAttributes
(Collection<Attribute> attributes) The array of attributes that you want to assign to specified findings.void
setFindingArns
(Collection<String> findingArns) The ARNs that specify the findings that you want to assign attributes to.toString()
Returns a string representation of this object; useful for testing and debugging.withAttributes
(Attribute... attributes) The array of attributes that you want to assign to specified findings.withAttributes
(Collection<Attribute> attributes) The array of attributes that you want to assign to specified findings.withFindingArns
(String... findingArns) The ARNs that specify the findings that you want to assign attributes to.withFindingArns
(Collection<String> findingArns) The ARNs that specify the findings that you want to assign attributes to.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
AddAttributesToFindingsRequest
public AddAttributesToFindingsRequest()
-
-
Method Details
-
getFindingArns
The ARNs that specify the findings that you want to assign attributes to.
- Returns:
- The ARNs that specify the findings that you want to assign attributes to.
-
setFindingArns
The ARNs that specify the findings that you want to assign attributes to.
- Parameters:
findingArns
- The ARNs that specify the findings that you want to assign attributes to.
-
withFindingArns
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)
orwithFindingArns(java.util.Collection)
if you want to override the existing values.- Parameters:
findingArns
- The ARNs that specify the findings that you want to assign attributes to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFindingArns
The ARNs that specify the findings that you want to assign attributes to.
- Parameters:
findingArns
- The ARNs that specify the findings that you want to assign attributes to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAttributes
The array of attributes that you want to assign to specified findings.
- Returns:
- The array of attributes that you want to assign to specified findings.
-
setAttributes
The array of attributes that you want to assign to specified findings.
- Parameters:
attributes
- The array of attributes that you want to assign to specified findings.
-
withAttributes
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)
orwithAttributes(java.util.Collection)
if you want to override the existing values.- Parameters:
attributes
- The array of attributes that you want to assign to specified findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAttributes
The array of attributes that you want to assign to specified findings.
- Parameters:
attributes
- The array of attributes that you want to assign to specified findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-