@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAppAssessmentsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListAppAssessmentsRequest() |
Modifier and Type | Method and Description |
---|---|
ListAppAssessmentsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAppArn()
Amazon Resource Name (ARN) of the Resilience Hub application.
|
String |
getAssessmentName()
The name for the assessment.
|
List<String> |
getAssessmentStatus()
The current status of the assessment for the resiliency policy.
|
String |
getComplianceStatus()
The current status of compliance for the resiliency policy.
|
String |
getInvoker()
Specifies the entity that invoked a specific assessment, either a
User or the System . |
Integer |
getMaxResults()
Maximum number of results to include in the response.
|
String |
getNextToken()
Null, or the token from a previous call to get the next set of results.
|
Boolean |
getReverseOrder()
The default is to sort by ascending startTime.
|
int |
hashCode() |
Boolean |
isReverseOrder()
The default is to sort by ascending startTime.
|
void |
setAppArn(String appArn)
Amazon Resource Name (ARN) of the Resilience Hub application.
|
void |
setAssessmentName(String assessmentName)
The name for the assessment.
|
void |
setAssessmentStatus(Collection<String> assessmentStatus)
The current status of the assessment for the resiliency policy.
|
void |
setComplianceStatus(String complianceStatus)
The current status of compliance for the resiliency policy.
|
void |
setInvoker(String invoker)
Specifies the entity that invoked a specific assessment, either a
User or the System . |
void |
setMaxResults(Integer maxResults)
Maximum number of results to include in the response.
|
void |
setNextToken(String nextToken)
Null, or the token from a previous call to get the next set of results.
|
void |
setReverseOrder(Boolean reverseOrder)
The default is to sort by ascending startTime.
|
String |
toString()
Returns a string representation of this object.
|
ListAppAssessmentsRequest |
withAppArn(String appArn)
Amazon Resource Name (ARN) of the Resilience Hub application.
|
ListAppAssessmentsRequest |
withAssessmentName(String assessmentName)
The name for the assessment.
|
ListAppAssessmentsRequest |
withAssessmentStatus(AssessmentStatus... assessmentStatus)
The current status of the assessment for the resiliency policy.
|
ListAppAssessmentsRequest |
withAssessmentStatus(Collection<String> assessmentStatus)
The current status of the assessment for the resiliency policy.
|
ListAppAssessmentsRequest |
withAssessmentStatus(String... assessmentStatus)
The current status of the assessment for the resiliency policy.
|
ListAppAssessmentsRequest |
withComplianceStatus(ComplianceStatus complianceStatus)
The current status of compliance for the resiliency policy.
|
ListAppAssessmentsRequest |
withComplianceStatus(String complianceStatus)
The current status of compliance for the resiliency policy.
|
ListAppAssessmentsRequest |
withInvoker(AssessmentInvoker invoker)
Specifies the entity that invoked a specific assessment, either a
User or the System . |
ListAppAssessmentsRequest |
withInvoker(String invoker)
Specifies the entity that invoked a specific assessment, either a
User or the System . |
ListAppAssessmentsRequest |
withMaxResults(Integer maxResults)
Maximum number of results to include in the response.
|
ListAppAssessmentsRequest |
withNextToken(String nextToken)
Null, or the token from a previous call to get the next set of results.
|
ListAppAssessmentsRequest |
withReverseOrder(Boolean reverseOrder)
The default is to sort by ascending startTime.
|
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 setAppArn(String appArn)
Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more
information about ARNs, see
Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
appArn
- Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For
more information about ARNs, see Amazon Resource Names
(ARNs) in the Amazon Web Services General Reference guide.public String getAppArn()
Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more
information about ARNs, see
Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
partition
:resiliencehub:region
:account
:app/app-id
.
For more information about ARNs, see Amazon Resource Names
(ARNs) in the Amazon Web Services General Reference guide.public ListAppAssessmentsRequest withAppArn(String appArn)
Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more
information about ARNs, see
Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
appArn
- Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For
more information about ARNs, see Amazon Resource Names
(ARNs) in the Amazon Web Services General Reference guide.public void setAssessmentName(String assessmentName)
The name for the assessment.
assessmentName
- The name for the assessment.public String getAssessmentName()
The name for the assessment.
public ListAppAssessmentsRequest withAssessmentName(String assessmentName)
The name for the assessment.
assessmentName
- The name for the assessment.public List<String> getAssessmentStatus()
The current status of the assessment for the resiliency policy.
AssessmentStatus
public void setAssessmentStatus(Collection<String> assessmentStatus)
The current status of the assessment for the resiliency policy.
assessmentStatus
- The current status of the assessment for the resiliency policy.AssessmentStatus
public ListAppAssessmentsRequest withAssessmentStatus(String... assessmentStatus)
The current status of the assessment for the resiliency policy.
NOTE: This method appends the values to the existing list (if any). Use
setAssessmentStatus(java.util.Collection)
or withAssessmentStatus(java.util.Collection)
if you
want to override the existing values.
assessmentStatus
- The current status of the assessment for the resiliency policy.AssessmentStatus
public ListAppAssessmentsRequest withAssessmentStatus(Collection<String> assessmentStatus)
The current status of the assessment for the resiliency policy.
assessmentStatus
- The current status of the assessment for the resiliency policy.AssessmentStatus
public ListAppAssessmentsRequest withAssessmentStatus(AssessmentStatus... assessmentStatus)
The current status of the assessment for the resiliency policy.
assessmentStatus
- The current status of the assessment for the resiliency policy.AssessmentStatus
public void setComplianceStatus(String complianceStatus)
The current status of compliance for the resiliency policy.
complianceStatus
- The current status of compliance for the resiliency policy.ComplianceStatus
public String getComplianceStatus()
The current status of compliance for the resiliency policy.
ComplianceStatus
public ListAppAssessmentsRequest withComplianceStatus(String complianceStatus)
The current status of compliance for the resiliency policy.
complianceStatus
- The current status of compliance for the resiliency policy.ComplianceStatus
public ListAppAssessmentsRequest withComplianceStatus(ComplianceStatus complianceStatus)
The current status of compliance for the resiliency policy.
complianceStatus
- The current status of compliance for the resiliency policy.ComplianceStatus
public void setInvoker(String invoker)
Specifies the entity that invoked a specific assessment, either a User
or the System
.
invoker
- Specifies the entity that invoked a specific assessment, either a User
or the
System
.AssessmentInvoker
public String getInvoker()
Specifies the entity that invoked a specific assessment, either a User
or the System
.
User
or the
System
.AssessmentInvoker
public ListAppAssessmentsRequest withInvoker(String invoker)
Specifies the entity that invoked a specific assessment, either a User
or the System
.
invoker
- Specifies the entity that invoked a specific assessment, either a User
or the
System
.AssessmentInvoker
public ListAppAssessmentsRequest withInvoker(AssessmentInvoker invoker)
Specifies the entity that invoked a specific assessment, either a User
or the System
.
invoker
- Specifies the entity that invoked a specific assessment, either a User
or the
System
.AssessmentInvoker
public void setMaxResults(Integer maxResults)
Maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be
retrieved.
maxResults
- Maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be
retrieved.public Integer getMaxResults()
Maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be
retrieved.
MaxResults
value, a token is included in the response so that the remaining results can be
retrieved.public ListAppAssessmentsRequest withMaxResults(Integer maxResults)
Maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be
retrieved.
maxResults
- Maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be
retrieved.public void setNextToken(String nextToken)
Null, or the token from a previous call to get the next set of results.
nextToken
- Null, or the token from a previous call to get the next set of results.public String getNextToken()
Null, or the token from a previous call to get the next set of results.
public ListAppAssessmentsRequest withNextToken(String nextToken)
Null, or the token from a previous call to get the next set of results.
nextToken
- Null, or the token from a previous call to get the next set of results.public void setReverseOrder(Boolean reverseOrder)
The default is to sort by ascending startTime. To sort by descending startTime, set reverseOrder to
true
.
reverseOrder
- The default is to sort by ascending startTime. To sort by descending startTime, set
reverseOrder to true
.public Boolean getReverseOrder()
The default is to sort by ascending startTime. To sort by descending startTime, set reverseOrder to
true
.
true
.public ListAppAssessmentsRequest withReverseOrder(Boolean reverseOrder)
The default is to sort by ascending startTime. To sort by descending startTime, set reverseOrder to
true
.
reverseOrder
- The default is to sort by ascending startTime. To sort by descending startTime, set
reverseOrder to true
.public Boolean isReverseOrder()
The default is to sort by ascending startTime. To sort by descending startTime, set reverseOrder to
true
.
true
.public String toString()
toString
in class Object
Object.toString()
public ListAppAssessmentsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()