@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddAttributesToFindingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AddAttributesToFindingsRequest() |
Modifier and Type | Method and Description |
---|---|
AddAttributesToFindingsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
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(Collection<String> findingArns)
The ARNs that specify the findings that you want to assign attributes to.
|
AddAttributesToFindingsRequest |
withFindingArns(String... findingArns)
The ARNs that specify the findings that you want to assign attributes to.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getFindingArns()
The ARNs that specify the findings that you want to assign attributes to.
public void setFindingArns(Collection<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(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(Collection<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 List<Attribute> getAttributes()
The array of attributes that you want to assign to specified findings.
public void setAttributes(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(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 String toString()
toString
in class Object
Object.toString()
public AddAttributesToFindingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()