@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()
The Amazon Resource Name (ARN) of the application.
|
String |
getAppVersion()
The version of the application.
|
List<ResourceMapping> |
getResourceMappings()
Mappings used to map logical resources from the template to physical resources.
|
int |
hashCode() |
void |
setAppArn(String appArn)
The Amazon Resource Name (ARN) of the application.
|
void |
setAppVersion(String appVersion)
The version of the application.
|
void |
setResourceMappings(Collection<ResourceMapping> resourceMappings)
Mappings used to map logical resources from the template to physical resources.
|
String |
toString()
Returns a string representation of this object.
|
AddDraftAppVersionResourceMappingsResult |
withAppArn(String appArn)
The Amazon Resource Name (ARN) of the application.
|
AddDraftAppVersionResourceMappingsResult |
withAppVersion(String appVersion)
The version of the application.
|
AddDraftAppVersionResourceMappingsResult |
withResourceMappings(Collection<ResourceMapping> resourceMappings)
Mappings used to map logical resources from the template to physical resources.
|
AddDraftAppVersionResourceMappingsResult |
withResourceMappings(ResourceMapping... resourceMappings)
Mappings used to map logical resources from the template to physical resources.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic AddDraftAppVersionResourceMappingsResult()
public void setAppArn(String appArn)
The Amazon Resource Name (ARN) of the 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 AWS General Reference.
appArn - The Amazon Resource Name (ARN) of the 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 AWS General Reference.public String getAppArn()
The Amazon Resource Name (ARN) of the 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 AWS General Reference.
partition
:resiliencehub:region:account:app/app-id. For more information
about ARNs, see
Amazon Resource Names (ARNs) in the AWS General Reference.public AddDraftAppVersionResourceMappingsResult withAppArn(String appArn)
The Amazon Resource Name (ARN) of the 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 AWS General Reference.
appArn - The Amazon Resource Name (ARN) of the 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 AWS General Reference.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()
Mappings used to map logical resources from the template to physical resources. You can use the mapping type
CFN_STACK if the application template uses a logical stack name. Or you can map individual resources
by using the mapping type RESOURCE. We recommend using the mapping type CFN_STACK if
the application is backed by a CloudFormation stack.
CFN_STACK if the application template uses a logical stack name. Or you can map
individual resources by using the mapping type RESOURCE. We recommend using the mapping type
CFN_STACK if the application is backed by a CloudFormation stack.public void setResourceMappings(Collection<ResourceMapping> resourceMappings)
Mappings used to map logical resources from the template to physical resources. You can use the mapping type
CFN_STACK if the application template uses a logical stack name. Or you can map individual resources
by using the mapping type RESOURCE. We recommend using the mapping type CFN_STACK if
the application is backed by a CloudFormation stack.
resourceMappings - Mappings used to map logical resources from the template to physical resources. You can use the mapping
type CFN_STACK if the application template uses a logical stack name. Or you can map
individual resources by using the mapping type RESOURCE. We recommend using the mapping type
CFN_STACK if the application is backed by a CloudFormation stack.public AddDraftAppVersionResourceMappingsResult withResourceMappings(ResourceMapping... resourceMappings)
Mappings used to map logical resources from the template to physical resources. You can use the mapping type
CFN_STACK if the application template uses a logical stack name. Or you can map individual resources
by using the mapping type RESOURCE. We recommend using the mapping type CFN_STACK if
the application is backed by a CloudFormation stack.
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 - Mappings used to map logical resources from the template to physical resources. You can use the mapping
type CFN_STACK if the application template uses a logical stack name. Or you can map
individual resources by using the mapping type RESOURCE. We recommend using the mapping type
CFN_STACK if the application is backed by a CloudFormation stack.public AddDraftAppVersionResourceMappingsResult withResourceMappings(Collection<ResourceMapping> resourceMappings)
Mappings used to map logical resources from the template to physical resources. You can use the mapping type
CFN_STACK if the application template uses a logical stack name. Or you can map individual resources
by using the mapping type RESOURCE. We recommend using the mapping type CFN_STACK if
the application is backed by a CloudFormation stack.
resourceMappings - Mappings used to map logical resources from the template to physical resources. You can use the mapping
type CFN_STACK if the application template uses a logical stack name. Or you can map
individual resources by using the mapping type RESOURCE. We recommend using the mapping type
CFN_STACK if the application is backed by a CloudFormation stack.public String toString()
toString in class ObjectObject.toString()public AddDraftAppVersionResourceMappingsResult clone()
Copyright © 2023. All rights reserved.