Class AddAttributesToFindingsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.inspector.model.AddAttributesToFindingsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class AddAttributesToFindingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description AddAttributesToFindingsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddAttributesToFindingsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
List<Attribute>
getAttributes()
The array of attributes that you want to assign to specified findings.List<String>
getFindingArns()
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.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(Collection<Attribute> attributes)
The array of attributes that you want to assign to specified findings.AddAttributesToFindingsRequest
withFindingArns(String... findingArns)
The ARNs that specify the findings that you want to assign attributes to.AddAttributesToFindingsRequest
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
-
-
-
-
Method Detail
-
getFindingArns
public List<String> 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
public void setFindingArns(Collection<String> findingArns)
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
public AddAttributesToFindingsRequest withFindingArns(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)
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
public AddAttributesToFindingsRequest withFindingArns(Collection<String> findingArns)
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
public List<Attribute> 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
public void setAttributes(Collection<Attribute> attributes)
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
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)
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
public AddAttributesToFindingsRequest withAttributes(Collection<Attribute> attributes)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AddAttributesToFindingsRequest 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:
Object.clone()
-
-