@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportResourcesToDraftAppVersionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ImportResourcesToDraftAppVersionResult() |
Modifier and Type | Method and Description |
---|---|
ImportResourcesToDraftAppVersionResult |
clone() |
boolean |
equals(Object obj) |
String |
getAppArn()
The Amazon Resource Name (ARN) of the application.
|
String |
getAppVersion()
The version of the application.
|
List<String> |
getSourceArns()
The Amazon Resource Names (ARNs) for the resources that you imported.
|
String |
getStatus()
The status of the action.
|
List<TerraformSource> |
getTerraformSources()
A list of terraform file s3 URLs you need to import.
|
int |
hashCode() |
void |
setAppArn(String appArn)
The Amazon Resource Name (ARN) of the application.
|
void |
setAppVersion(String appVersion)
The version of the application.
|
void |
setSourceArns(Collection<String> sourceArns)
The Amazon Resource Names (ARNs) for the resources that you imported.
|
void |
setStatus(String status)
The status of the action.
|
void |
setTerraformSources(Collection<TerraformSource> terraformSources)
A list of terraform file s3 URLs you need to import.
|
String |
toString()
Returns a string representation of this object.
|
ImportResourcesToDraftAppVersionResult |
withAppArn(String appArn)
The Amazon Resource Name (ARN) of the application.
|
ImportResourcesToDraftAppVersionResult |
withAppVersion(String appVersion)
The version of the application.
|
ImportResourcesToDraftAppVersionResult |
withSourceArns(Collection<String> sourceArns)
The Amazon Resource Names (ARNs) for the resources that you imported.
|
ImportResourcesToDraftAppVersionResult |
withSourceArns(String... sourceArns)
The Amazon Resource Names (ARNs) for the resources that you imported.
|
ImportResourcesToDraftAppVersionResult |
withStatus(ResourceImportStatusType status)
The status of the action.
|
ImportResourcesToDraftAppVersionResult |
withStatus(String status)
The status of the action.
|
ImportResourcesToDraftAppVersionResult |
withTerraformSources(Collection<TerraformSource> terraformSources)
A list of terraform file s3 URLs you need to import.
|
ImportResourcesToDraftAppVersionResult |
withTerraformSources(TerraformSource... terraformSources)
A list of terraform file s3 URLs you need to import.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ImportResourcesToDraftAppVersionResult()
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 ImportResourcesToDraftAppVersionResult 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 ImportResourcesToDraftAppVersionResult withAppVersion(String appVersion)
The version of the application.
appVersion
- The version of the application.public List<String> getSourceArns()
The Amazon Resource Names (ARNs) for the resources that you imported.
public void setSourceArns(Collection<String> sourceArns)
The Amazon Resource Names (ARNs) for the resources that you imported.
sourceArns
- The Amazon Resource Names (ARNs) for the resources that you imported.public ImportResourcesToDraftAppVersionResult withSourceArns(String... sourceArns)
The Amazon Resource Names (ARNs) for the resources that you imported.
NOTE: This method appends the values to the existing list (if any). Use
setSourceArns(java.util.Collection)
or withSourceArns(java.util.Collection)
if you want to
override the existing values.
sourceArns
- The Amazon Resource Names (ARNs) for the resources that you imported.public ImportResourcesToDraftAppVersionResult withSourceArns(Collection<String> sourceArns)
The Amazon Resource Names (ARNs) for the resources that you imported.
sourceArns
- The Amazon Resource Names (ARNs) for the resources that you imported.public void setStatus(String status)
The status of the action.
status
- The status of the action.ResourceImportStatusType
public String getStatus()
The status of the action.
ResourceImportStatusType
public ImportResourcesToDraftAppVersionResult withStatus(String status)
The status of the action.
status
- The status of the action.ResourceImportStatusType
public ImportResourcesToDraftAppVersionResult withStatus(ResourceImportStatusType status)
The status of the action.
status
- The status of the action.ResourceImportStatusType
public List<TerraformSource> getTerraformSources()
A list of terraform file s3 URLs you need to import.
public void setTerraformSources(Collection<TerraformSource> terraformSources)
A list of terraform file s3 URLs you need to import.
terraformSources
- A list of terraform file s3 URLs you need to import.public ImportResourcesToDraftAppVersionResult withTerraformSources(TerraformSource... terraformSources)
A list of terraform file s3 URLs you need to import.
NOTE: This method appends the values to the existing list (if any). Use
setTerraformSources(java.util.Collection)
or withTerraformSources(java.util.Collection)
if you
want to override the existing values.
terraformSources
- A list of terraform file s3 URLs you need to import.public ImportResourcesToDraftAppVersionResult withTerraformSources(Collection<TerraformSource> terraformSources)
A list of terraform file s3 URLs you need to import.
terraformSources
- A list of terraform file s3 URLs you need to import.public String toString()
toString
in class Object
Object.toString()
public ImportResourcesToDraftAppVersionResult clone()