@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetImportResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetImportResult() |
Modifier and Type | Method and Description |
---|---|
GetImportResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedDate()
A timestamp for the date and time that the import job was created.
|
List<String> |
getFailureReason()
A string that describes why an import job failed to complete.
|
String |
getImportId()
The identifier for the specific import job.
|
String |
getImportStatus()
The status of the import job.
|
String |
getMergeStrategy()
The action taken when there was a conflict between an existing resource and a resource in the import file.
|
String |
getName()
The name given to the import job.
|
String |
getResourceType()
The type of resource imported.
|
int |
hashCode() |
void |
setCreatedDate(Date createdDate)
A timestamp for the date and time that the import job was created.
|
void |
setFailureReason(Collection<String> failureReason)
A string that describes why an import job failed to complete.
|
void |
setImportId(String importId)
The identifier for the specific import job.
|
void |
setImportStatus(String importStatus)
The status of the import job.
|
void |
setMergeStrategy(String mergeStrategy)
The action taken when there was a conflict between an existing resource and a resource in the import file.
|
void |
setName(String name)
The name given to the import job.
|
void |
setResourceType(String resourceType)
The type of resource imported.
|
String |
toString()
Returns a string representation of this object.
|
GetImportResult |
withCreatedDate(Date createdDate)
A timestamp for the date and time that the import job was created.
|
GetImportResult |
withFailureReason(Collection<String> failureReason)
A string that describes why an import job failed to complete.
|
GetImportResult |
withFailureReason(String... failureReason)
A string that describes why an import job failed to complete.
|
GetImportResult |
withImportId(String importId)
The identifier for the specific import job.
|
GetImportResult |
withImportStatus(ImportStatus importStatus)
The status of the import job.
|
GetImportResult |
withImportStatus(String importStatus)
The status of the import job.
|
GetImportResult |
withMergeStrategy(MergeStrategy mergeStrategy)
The action taken when there was a conflict between an existing resource and a resource in the import file.
|
GetImportResult |
withMergeStrategy(String mergeStrategy)
The action taken when there was a conflict between an existing resource and a resource in the import file.
|
GetImportResult |
withName(String name)
The name given to the import job.
|
GetImportResult |
withResourceType(ResourceType resourceType)
The type of resource imported.
|
GetImportResult |
withResourceType(String resourceType)
The type of resource imported.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setName(String name)
The name given to the import job.
name
- The name given to the import job.public String getName()
The name given to the import job.
public GetImportResult withName(String name)
The name given to the import job.
name
- The name given to the import job.public void setResourceType(String resourceType)
The type of resource imported.
resourceType
- The type of resource imported.ResourceType
public String getResourceType()
The type of resource imported.
ResourceType
public GetImportResult withResourceType(String resourceType)
The type of resource imported.
resourceType
- The type of resource imported.ResourceType
public GetImportResult withResourceType(ResourceType resourceType)
The type of resource imported.
resourceType
- The type of resource imported.ResourceType
public void setMergeStrategy(String mergeStrategy)
The action taken when there was a conflict between an existing resource and a resource in the import file.
mergeStrategy
- The action taken when there was a conflict between an existing resource and a resource in the import file.MergeStrategy
public String getMergeStrategy()
The action taken when there was a conflict between an existing resource and a resource in the import file.
MergeStrategy
public GetImportResult withMergeStrategy(String mergeStrategy)
The action taken when there was a conflict between an existing resource and a resource in the import file.
mergeStrategy
- The action taken when there was a conflict between an existing resource and a resource in the import file.MergeStrategy
public GetImportResult withMergeStrategy(MergeStrategy mergeStrategy)
The action taken when there was a conflict between an existing resource and a resource in the import file.
mergeStrategy
- The action taken when there was a conflict between an existing resource and a resource in the import file.MergeStrategy
public void setImportId(String importId)
The identifier for the specific import job.
importId
- The identifier for the specific import job.public String getImportId()
The identifier for the specific import job.
public GetImportResult withImportId(String importId)
The identifier for the specific import job.
importId
- The identifier for the specific import job.public void setImportStatus(String importStatus)
The status of the import job. If the status is FAILED
, you can get the reason for the failure from
the failureReason
field.
importStatus
- The status of the import job. If the status is FAILED
, you can get the reason for the failure
from the failureReason
field.ImportStatus
public String getImportStatus()
The status of the import job. If the status is FAILED
, you can get the reason for the failure from
the failureReason
field.
FAILED
, you can get the reason for the
failure from the failureReason
field.ImportStatus
public GetImportResult withImportStatus(String importStatus)
The status of the import job. If the status is FAILED
, you can get the reason for the failure from
the failureReason
field.
importStatus
- The status of the import job. If the status is FAILED
, you can get the reason for the failure
from the failureReason
field.ImportStatus
public GetImportResult withImportStatus(ImportStatus importStatus)
The status of the import job. If the status is FAILED
, you can get the reason for the failure from
the failureReason
field.
importStatus
- The status of the import job. If the status is FAILED
, you can get the reason for the failure
from the failureReason
field.ImportStatus
public List<String> getFailureReason()
A string that describes why an import job failed to complete.
public void setFailureReason(Collection<String> failureReason)
A string that describes why an import job failed to complete.
failureReason
- A string that describes why an import job failed to complete.public GetImportResult withFailureReason(String... failureReason)
A string that describes why an import job failed to complete.
NOTE: This method appends the values to the existing list (if any). Use
setFailureReason(java.util.Collection)
or withFailureReason(java.util.Collection)
if you want
to override the existing values.
failureReason
- A string that describes why an import job failed to complete.public GetImportResult withFailureReason(Collection<String> failureReason)
A string that describes why an import job failed to complete.
failureReason
- A string that describes why an import job failed to complete.public void setCreatedDate(Date createdDate)
A timestamp for the date and time that the import job was created.
createdDate
- A timestamp for the date and time that the import job was created.public Date getCreatedDate()
A timestamp for the date and time that the import job was created.
public GetImportResult withCreatedDate(Date createdDate)
A timestamp for the date and time that the import job was created.
createdDate
- A timestamp for the date and time that the import job was created.public String toString()
toString
in class Object
Object.toString()
public GetImportResult clone()