@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddDraftAppVersionResourceMappingsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
AddDraftAppVersionResourceMappingsResult() |
Modifier and Type | Method and Description |
---|---|
AddDraftAppVersionResourceMappingsResult |
clone() |
boolean |
equals(Object obj) |
String |
getAppArn()
Amazon Resource Name (ARN) of the Resilience Hub application.
|
String |
getAppVersion()
The version of the application.
|
List<ResourceMapping> |
getResourceMappings()
List of sources that are used to map a logical resource from the template to a physical resource.
|
int |
hashCode() |
void |
setAppArn(String appArn)
Amazon Resource Name (ARN) of the Resilience Hub application.
|
void |
setAppVersion(String appVersion)
The version of the application.
|
void |
setResourceMappings(Collection<ResourceMapping> resourceMappings)
List of sources that are used to map a logical resource from the template to a physical resource.
|
String |
toString()
Returns a string representation of this object.
|
AddDraftAppVersionResourceMappingsResult |
withAppArn(String appArn)
Amazon Resource Name (ARN) of the Resilience Hub application.
|
AddDraftAppVersionResourceMappingsResult |
withAppVersion(String appVersion)
The version of the application.
|
AddDraftAppVersionResourceMappingsResult |
withResourceMappings(Collection<ResourceMapping> resourceMappings)
List of sources that are used to map a logical resource from the template to a physical resource.
|
AddDraftAppVersionResourceMappingsResult |
withResourceMappings(ResourceMapping... resourceMappings)
List of sources that are used to map a logical resource from the template to a physical resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public AddDraftAppVersionResourceMappingsResult()
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 AddDraftAppVersionResourceMappingsResult 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 setAppVersion(String appVersion)
The version of the application.
appVersion
- The version of the application.public String getAppVersion()
The version of the application.
public AddDraftAppVersionResourceMappingsResult withAppVersion(String appVersion)
The version of the application.
appVersion
- The version of the application.public List<ResourceMapping> getResourceMappings()
List of sources that are used to map a logical resource from the template to a physical resource. You can use sources such as CloudFormation, Terraform state files, AppRegistry applications, or Amazon EKS.
public void setResourceMappings(Collection<ResourceMapping> resourceMappings)
List of sources that are used to map a logical resource from the template to a physical resource. You can use sources such as CloudFormation, Terraform state files, AppRegistry applications, or Amazon EKS.
resourceMappings
- List of sources that are used to map a logical resource from the template to a physical resource. You can
use sources such as CloudFormation, Terraform state files, AppRegistry applications, or Amazon EKS.public AddDraftAppVersionResourceMappingsResult withResourceMappings(ResourceMapping... resourceMappings)
List of sources that are used to map a logical resource from the template to a physical resource. You can use sources such as CloudFormation, Terraform state files, AppRegistry applications, or Amazon EKS.
NOTE: This method appends the values to the existing list (if any). Use
setResourceMappings(java.util.Collection)
or withResourceMappings(java.util.Collection)
if you
want to override the existing values.
resourceMappings
- List of sources that are used to map a logical resource from the template to a physical resource. You can
use sources such as CloudFormation, Terraform state files, AppRegistry applications, or Amazon EKS.public AddDraftAppVersionResourceMappingsResult withResourceMappings(Collection<ResourceMapping> resourceMappings)
List of sources that are used to map a logical resource from the template to a physical resource. You can use sources such as CloudFormation, Terraform state files, AppRegistry applications, or Amazon EKS.
resourceMappings
- List of sources that are used to map a logical resource from the template to a physical resource. You can
use sources such as CloudFormation, Terraform state files, AppRegistry applications, or Amazon EKS.public String toString()
toString
in class Object
Object.toString()
public AddDraftAppVersionResourceMappingsResult clone()