Class PutEvaluationsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.config.model.PutEvaluationsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class PutEvaluationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description PutEvaluationsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PutEvaluationsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
List<Evaluation>
getEvaluations()
The assessments that the AWS Lambda function performs.String
getResultToken()
An encrypted token that associates an evaluation with an AWS Config rule.int
hashCode()
void
setEvaluations(Collection<Evaluation> evaluations)
The assessments that the AWS Lambda function performs.void
setResultToken(String resultToken)
An encrypted token that associates an evaluation with an AWS Config rule.String
toString()
Returns a string representation of this object; useful for testing and debugging.PutEvaluationsRequest
withEvaluations(Evaluation... evaluations)
The assessments that the AWS Lambda function performs.PutEvaluationsRequest
withEvaluations(Collection<Evaluation> evaluations)
The assessments that the AWS Lambda function performs.PutEvaluationsRequest
withResultToken(String resultToken)
An encrypted token that associates an evaluation with an AWS Config rule.-
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
-
getEvaluations
public List<Evaluation> getEvaluations()
The assessments that the AWS Lambda function performs. Each evaluation identifies an AWS resource and indicates whether it complies with the AWS Config rule that invokes the AWS Lambda function.
- Returns:
- The assessments that the AWS Lambda function performs. Each evaluation identifies an AWS resource and indicates whether it complies with the AWS Config rule that invokes the AWS Lambda function.
-
setEvaluations
public void setEvaluations(Collection<Evaluation> evaluations)
The assessments that the AWS Lambda function performs. Each evaluation identifies an AWS resource and indicates whether it complies with the AWS Config rule that invokes the AWS Lambda function.
- Parameters:
evaluations
- The assessments that the AWS Lambda function performs. Each evaluation identifies an AWS resource and indicates whether it complies with the AWS Config rule that invokes the AWS Lambda function.
-
withEvaluations
public PutEvaluationsRequest withEvaluations(Evaluation... evaluations)
The assessments that the AWS Lambda function performs. Each evaluation identifies an AWS resource and indicates whether it complies with the AWS Config rule that invokes the AWS Lambda function.
NOTE: This method appends the values to the existing list (if any). Use
setEvaluations(java.util.Collection)
orwithEvaluations(java.util.Collection)
if you want to override the existing values.- Parameters:
evaluations
- The assessments that the AWS Lambda function performs. Each evaluation identifies an AWS resource and indicates whether it complies with the AWS Config rule that invokes the AWS Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEvaluations
public PutEvaluationsRequest withEvaluations(Collection<Evaluation> evaluations)
The assessments that the AWS Lambda function performs. Each evaluation identifies an AWS resource and indicates whether it complies with the AWS Config rule that invokes the AWS Lambda function.
- Parameters:
evaluations
- The assessments that the AWS Lambda function performs. Each evaluation identifies an AWS resource and indicates whether it complies with the AWS Config rule that invokes the AWS Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResultToken
public void setResultToken(String resultToken)
An encrypted token that associates an evaluation with an AWS Config rule. Identifies the rule and the event that triggered the evaluation
- Parameters:
resultToken
- An encrypted token that associates an evaluation with an AWS Config rule. Identifies the rule and the event that triggered the evaluation
-
getResultToken
public String getResultToken()
An encrypted token that associates an evaluation with an AWS Config rule. Identifies the rule and the event that triggered the evaluation
- Returns:
- An encrypted token that associates an evaluation with an AWS Config rule. Identifies the rule and the event that triggered the evaluation
-
withResultToken
public PutEvaluationsRequest withResultToken(String resultToken)
An encrypted token that associates an evaluation with an AWS Config rule. Identifies the rule and the event that triggered the evaluation
- Parameters:
resultToken
- An encrypted token that associates an evaluation with an AWS Config rule. Identifies the rule and the event that triggered the evaluation- 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 PutEvaluationsRequest 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()
-
-