public static final class CfnAppProps.Builder
extends java.lang.Object
CfnAppProps
Constructor and Description |
---|
Builder() |
public CfnAppProps.Builder appTemplateBody(java.lang.String appTemplateBody)
CfnAppProps.getAppTemplateBody()
appTemplateBody
- A string containing a full Resilience Hub app template body. This parameter is required.this
public CfnAppProps.Builder name(java.lang.String name)
CfnAppProps.getName()
name
- The name for the application. This parameter is required.this
public CfnAppProps.Builder resourceMappings(IResolvable resourceMappings)
CfnAppProps.getResourceMappings()
resourceMappings
- An array of ResourceMapping objects. This parameter is required.this
public CfnAppProps.Builder resourceMappings(java.util.List<? extends java.lang.Object> resourceMappings)
CfnAppProps.getResourceMappings()
resourceMappings
- An array of ResourceMapping objects. This parameter is required.this
public CfnAppProps.Builder appAssessmentSchedule(java.lang.String appAssessmentSchedule)
CfnAppProps.getAppAssessmentSchedule()
appAssessmentSchedule
- `AWS::ResilienceHub::App.AppAssessmentSchedule`.this
public CfnAppProps.Builder description(java.lang.String description)
CfnAppProps.getDescription()
description
- The optional description for an app.this
public CfnAppProps.Builder resiliencyPolicyArn(java.lang.String resiliencyPolicyArn)
CfnAppProps.getResiliencyPolicyArn()
resiliencyPolicyArn
- The Amazon Resource Name (ARN) of the resiliency policy.this
public CfnAppProps.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
CfnAppProps.getTags()
tags
- The tags assigned to the resource.
A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.this
public CfnAppProps build()
CfnAppProps
java.lang.NullPointerException
- if any required attribute was not provided