@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAppRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAppRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAppRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateAppRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateAppRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAssessmentSchedule()
Assessment execution schedule with 'Daily' or 'Disabled' values.
|
String |
getClientToken()
Used for an idempotency token.
|
String |
getDescription()
The optional description for an app.
|
String |
getName()
The name for the application.
|
String |
getPolicyArn()
The Amazon Resource Name (ARN) of the resiliency policy.
|
Map<String,String> |
getTags()
The tags assigned to the resource.
|
int |
hashCode() |
void |
setAssessmentSchedule(String assessmentSchedule)
Assessment execution schedule with 'Daily' or 'Disabled' values.
|
void |
setClientToken(String clientToken)
Used for an idempotency token.
|
void |
setDescription(String description)
The optional description for an app.
|
void |
setName(String name)
The name for the application.
|
void |
setPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the resiliency policy.
|
void |
setTags(Map<String,String> tags)
The tags assigned to the resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateAppRequest |
withAssessmentSchedule(AppAssessmentScheduleType assessmentSchedule)
Assessment execution schedule with 'Daily' or 'Disabled' values.
|
CreateAppRequest |
withAssessmentSchedule(String assessmentSchedule)
Assessment execution schedule with 'Daily' or 'Disabled' values.
|
CreateAppRequest |
withClientToken(String clientToken)
Used for an idempotency token.
|
CreateAppRequest |
withDescription(String description)
The optional description for an app.
|
CreateAppRequest |
withName(String name)
The name for the application.
|
CreateAppRequest |
withPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the resiliency policy.
|
CreateAppRequest |
withTags(Map<String,String> tags)
The tags assigned to the resource.
|
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 setAssessmentSchedule(String assessmentSchedule)
Assessment execution schedule with 'Daily' or 'Disabled' values.
assessmentSchedule
- Assessment execution schedule with 'Daily' or 'Disabled' values.AppAssessmentScheduleType
public String getAssessmentSchedule()
Assessment execution schedule with 'Daily' or 'Disabled' values.
AppAssessmentScheduleType
public CreateAppRequest withAssessmentSchedule(String assessmentSchedule)
Assessment execution schedule with 'Daily' or 'Disabled' values.
assessmentSchedule
- Assessment execution schedule with 'Daily' or 'Disabled' values.AppAssessmentScheduleType
public CreateAppRequest withAssessmentSchedule(AppAssessmentScheduleType assessmentSchedule)
Assessment execution schedule with 'Daily' or 'Disabled' values.
assessmentSchedule
- Assessment execution schedule with 'Daily' or 'Disabled' values.AppAssessmentScheduleType
public void setClientToken(String clientToken)
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
clientToken
- Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII
characters. You should not reuse the same client token for other API requests.public String getClientToken()
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
public CreateAppRequest withClientToken(String clientToken)
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
clientToken
- Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII
characters. You should not reuse the same client token for other API requests.public void setDescription(String description)
The optional description for an app.
description
- The optional description for an app.public String getDescription()
The optional description for an app.
public CreateAppRequest withDescription(String description)
The optional description for an app.
description
- The optional description for an app.public void setName(String name)
The name for the application.
name
- The name for the application.public String getName()
The name for the application.
public CreateAppRequest withName(String name)
The name for the application.
name
- The name for the application.public void setPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more
information about ARNs, see
Amazon Resource Names (ARNs) in the AWS General Reference guide.
policyArn
- The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:resiliency-policy/
policy-id
. For more information about ARNs, see Amazon Resource Names
(ARNs) in the AWS General Reference guide.public String getPolicyArn()
The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more
information about ARNs, see
Amazon Resource Names (ARNs) in the AWS General Reference guide.
partition
:resiliencehub:region
:account
:resiliency-policy/
policy-id
. For more information about ARNs, see Amazon Resource Names
(ARNs) in the AWS General Reference guide.public CreateAppRequest withPolicyArn(String policyArn)
The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more
information about ARNs, see
Amazon Resource Names (ARNs) in the AWS General Reference guide.
policyArn
- The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:resiliency-policy/
policy-id
. For more information about ARNs, see Amazon Resource Names
(ARNs) in the AWS General Reference guide.public Map<String,String> getTags()
The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
public void setTags(Map<String,String> tags)
The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
tags
- The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource.
Each tag consists of a key/value pair.public CreateAppRequest withTags(Map<String,String> tags)
The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
tags
- The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource.
Each tag consists of a key/value pair.public CreateAppRequest addTagsEntry(String key, String value)
public CreateAppRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateAppRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()