@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateFindingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Updates findings with the new values provided in the request.
NOOP
Constructor and Description |
---|
UpdateFindingsRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateFindingsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAnalyzerArn()
The ARN
of the analyzer that generated the findings to update.
|
String |
getClientToken()
A client token.
|
List<String> |
getIds()
The IDs of the findings to update.
|
String |
getResourceArn()
The ARN of the resource identified in the finding.
|
String |
getStatus()
The state represents the action to take to update the finding Status.
|
int |
hashCode() |
void |
setAnalyzerArn(String analyzerArn)
The ARN
of the analyzer that generated the findings to update.
|
void |
setClientToken(String clientToken)
A client token.
|
void |
setIds(Collection<String> ids)
The IDs of the findings to update.
|
void |
setResourceArn(String resourceArn)
The ARN of the resource identified in the finding.
|
void |
setStatus(String status)
The state represents the action to take to update the finding Status.
|
String |
toString()
Returns a string representation of this object.
|
UpdateFindingsRequest |
withAnalyzerArn(String analyzerArn)
The ARN
of the analyzer that generated the findings to update.
|
UpdateFindingsRequest |
withClientToken(String clientToken)
A client token.
|
UpdateFindingsRequest |
withIds(Collection<String> ids)
The IDs of the findings to update.
|
UpdateFindingsRequest |
withIds(String... ids)
The IDs of the findings to update.
|
UpdateFindingsRequest |
withResourceArn(String resourceArn)
The ARN of the resource identified in the finding.
|
UpdateFindingsRequest |
withStatus(FindingStatusUpdate status)
The state represents the action to take to update the finding Status.
|
UpdateFindingsRequest |
withStatus(String status)
The state represents the action to take to update the finding Status.
|
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 void setAnalyzerArn(String analyzerArn)
The ARN of the analyzer that generated the findings to update.
analyzerArn
- The ARN of the analyzer that generated the findings to update.public String getAnalyzerArn()
The ARN of the analyzer that generated the findings to update.
public UpdateFindingsRequest withAnalyzerArn(String analyzerArn)
The ARN of the analyzer that generated the findings to update.
analyzerArn
- The ARN of the analyzer that generated the findings to update.public void setStatus(String status)
The state represents the action to take to update the finding Status. Use ARCHIVE
to change an
Active finding to an Archived finding. Use ACTIVE
to change an Archived finding to an Active
finding.
status
- The state represents the action to take to update the finding Status. Use ARCHIVE
to change
an Active finding to an Archived finding. Use ACTIVE
to change an Archived finding to an
Active finding.FindingStatusUpdate
public String getStatus()
The state represents the action to take to update the finding Status. Use ARCHIVE
to change an
Active finding to an Archived finding. Use ACTIVE
to change an Archived finding to an Active
finding.
ARCHIVE
to change
an Active finding to an Archived finding. Use ACTIVE
to change an Archived finding to an
Active finding.FindingStatusUpdate
public UpdateFindingsRequest withStatus(String status)
The state represents the action to take to update the finding Status. Use ARCHIVE
to change an
Active finding to an Archived finding. Use ACTIVE
to change an Archived finding to an Active
finding.
status
- The state represents the action to take to update the finding Status. Use ARCHIVE
to change
an Active finding to an Archived finding. Use ACTIVE
to change an Archived finding to an
Active finding.FindingStatusUpdate
public UpdateFindingsRequest withStatus(FindingStatusUpdate status)
The state represents the action to take to update the finding Status. Use ARCHIVE
to change an
Active finding to an Archived finding. Use ACTIVE
to change an Archived finding to an Active
finding.
status
- The state represents the action to take to update the finding Status. Use ARCHIVE
to change
an Active finding to an Archived finding. Use ACTIVE
to change an Archived finding to an
Active finding.FindingStatusUpdate
public List<String> getIds()
The IDs of the findings to update.
public void setIds(Collection<String> ids)
The IDs of the findings to update.
ids
- The IDs of the findings to update.public UpdateFindingsRequest withIds(String... ids)
The IDs of the findings to update.
NOTE: This method appends the values to the existing list (if any). Use
setIds(java.util.Collection)
or withIds(java.util.Collection)
if you want to override the
existing values.
ids
- The IDs of the findings to update.public UpdateFindingsRequest withIds(Collection<String> ids)
The IDs of the findings to update.
ids
- The IDs of the findings to update.public void setResourceArn(String resourceArn)
The ARN of the resource identified in the finding.
resourceArn
- The ARN of the resource identified in the finding.public String getResourceArn()
The ARN of the resource identified in the finding.
public UpdateFindingsRequest withResourceArn(String resourceArn)
The ARN of the resource identified in the finding.
resourceArn
- The ARN of the resource identified in the finding.public void setClientToken(String clientToken)
A client token.
clientToken
- A client token.public String getClientToken()
A client token.
public UpdateFindingsRequest withClientToken(String clientToken)
A client token.
clientToken
- A client token.public String toString()
toString
in class Object
Object.toString()
public UpdateFindingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()