@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()
Amazon Resource Name (ARN) of the Resilience Hub application.
|
String |
getAppVersion()
The version of the application.
|
List<EksSource> |
getEksSources()
The input sources of the Amazon Elastic Kubernetes Service resources you have imported.
|
List<String> |
getSourceArns()
The Amazon Resource Names (ARNs) for the resources you have imported.
|
String |
getStatus()
Status of the action.
|
List<TerraformSource> |
getTerraformSources()
A list of terraform file s3 URLs you have imported.
|
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 |
setEksSources(Collection<EksSource> eksSources)
The input sources of the Amazon Elastic Kubernetes Service resources you have imported.
|
void |
setSourceArns(Collection<String> sourceArns)
The Amazon Resource Names (ARNs) for the resources you have imported.
|
void |
setStatus(String status)
Status of the action.
|
void |
setTerraformSources(Collection<TerraformSource> terraformSources)
A list of terraform file s3 URLs you have imported.
|
String |
toString()
Returns a string representation of this object.
|
ImportResourcesToDraftAppVersionResult |
withAppArn(String appArn)
Amazon Resource Name (ARN) of the Resilience Hub application.
|
ImportResourcesToDraftAppVersionResult |
withAppVersion(String appVersion)
The version of the application.
|
ImportResourcesToDraftAppVersionResult |
withEksSources(Collection<EksSource> eksSources)
The input sources of the Amazon Elastic Kubernetes Service resources you have imported.
|
ImportResourcesToDraftAppVersionResult |
withEksSources(EksSource... eksSources)
The input sources of the Amazon Elastic Kubernetes Service resources you have imported.
|
ImportResourcesToDraftAppVersionResult |
withSourceArns(Collection<String> sourceArns)
The Amazon Resource Names (ARNs) for the resources you have imported.
|
ImportResourcesToDraftAppVersionResult |
withSourceArns(String... sourceArns)
The Amazon Resource Names (ARNs) for the resources you have imported.
|
ImportResourcesToDraftAppVersionResult |
withStatus(ResourceImportStatusType status)
Status of the action.
|
ImportResourcesToDraftAppVersionResult |
withStatus(String status)
Status of the action.
|
ImportResourcesToDraftAppVersionResult |
withTerraformSources(Collection<TerraformSource> terraformSources)
A list of terraform file s3 URLs you have imported.
|
ImportResourcesToDraftAppVersionResult |
withTerraformSources(TerraformSource... terraformSources)
A list of terraform file s3 URLs you have imported.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ImportResourcesToDraftAppVersionResult()
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 ImportResourcesToDraftAppVersionResult 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 ImportResourcesToDraftAppVersionResult withAppVersion(String appVersion)
The version of the application.
appVersion
- The version of the application.public List<EksSource> getEksSources()
The input sources of the Amazon Elastic Kubernetes Service resources you have imported.
public void setEksSources(Collection<EksSource> eksSources)
The input sources of the Amazon Elastic Kubernetes Service resources you have imported.
eksSources
- The input sources of the Amazon Elastic Kubernetes Service resources you have imported.public ImportResourcesToDraftAppVersionResult withEksSources(EksSource... eksSources)
The input sources of the Amazon Elastic Kubernetes Service resources you have imported.
NOTE: This method appends the values to the existing list (if any). Use
setEksSources(java.util.Collection)
or withEksSources(java.util.Collection)
if you want to
override the existing values.
eksSources
- The input sources of the Amazon Elastic Kubernetes Service resources you have imported.public ImportResourcesToDraftAppVersionResult withEksSources(Collection<EksSource> eksSources)
The input sources of the Amazon Elastic Kubernetes Service resources you have imported.
eksSources
- The input sources of the Amazon Elastic Kubernetes Service resources you have imported.public List<String> getSourceArns()
The Amazon Resource Names (ARNs) for the resources you have imported.
public void setSourceArns(Collection<String> sourceArns)
The Amazon Resource Names (ARNs) for the resources you have imported.
sourceArns
- The Amazon Resource Names (ARNs) for the resources you have imported.public ImportResourcesToDraftAppVersionResult withSourceArns(String... sourceArns)
The Amazon Resource Names (ARNs) for the resources you have 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 you have imported.public ImportResourcesToDraftAppVersionResult withSourceArns(Collection<String> sourceArns)
The Amazon Resource Names (ARNs) for the resources you have imported.
sourceArns
- The Amazon Resource Names (ARNs) for the resources you have imported.public void setStatus(String status)
Status of the action.
status
- Status of the action.ResourceImportStatusType
public String getStatus()
Status of the action.
ResourceImportStatusType
public ImportResourcesToDraftAppVersionResult withStatus(String status)
Status of the action.
status
- Status of the action.ResourceImportStatusType
public ImportResourcesToDraftAppVersionResult withStatus(ResourceImportStatusType status)
Status of the action.
status
- Status of the action.ResourceImportStatusType
public List<TerraformSource> getTerraformSources()
A list of terraform file s3 URLs you have imported.
public void setTerraformSources(Collection<TerraformSource> terraformSources)
A list of terraform file s3 URLs you have imported.
terraformSources
- A list of terraform file s3 URLs you have imported.public ImportResourcesToDraftAppVersionResult withTerraformSources(TerraformSource... terraformSources)
A list of terraform file s3 URLs you have imported.
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 have imported.public ImportResourcesToDraftAppVersionResult withTerraformSources(Collection<TerraformSource> terraformSources)
A list of terraform file s3 URLs you have imported.
terraformSources
- A list of terraform file s3 URLs you have imported.public String toString()
toString
in class Object
Object.toString()
public ImportResourcesToDraftAppVersionResult clone()