public static interface Operation.Builder extends SdkPojo, CopyableBuilder<Operation.Builder,Operation>
| Modifier and Type | Method and Description |
|---|---|
Operation.Builder |
createDate(Instant createDate)
The date and time that the request was submitted, in Unix date/time format and Coordinated Universal Time
(UTC).
|
Operation.Builder |
errorCode(String errorCode)
The code associated with
ErrorMessage. |
Operation.Builder |
errorMessage(String errorMessage)
If the value of
Status is FAIL, the reason that the operation failed. |
Operation.Builder |
id(String id)
The ID of the operation that you want to get information about.
|
Operation.Builder |
status(OperationStatus status)
The status of the operation.
|
Operation.Builder |
status(String status)
The status of the operation.
|
Operation.Builder |
targets(Map<OperationTargetType,String> targets)
The name of the target entity that is associated with the operation:
|
Operation.Builder |
targetsWithStrings(Map<String,String> targets)
The name of the target entity that is associated with the operation:
|
Operation.Builder |
type(OperationType type)
The name of the operation that is associated with the specified ID.
|
Operation.Builder |
type(String type)
The name of the operation that is associated with the specified ID.
|
Operation.Builder |
updateDate(Instant updateDate)
The date and time that the value of
Status changed to the current value, in Unix date/time
format and Coordinated Universal Time (UTC). |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildOperation.Builder id(String id)
The ID of the operation that you want to get information about.
id - The ID of the operation that you want to get information about.Operation.Builder type(String type)
The name of the operation that is associated with the specified ID.
type - The name of the operation that is associated with the specified ID.OperationType,
OperationTypeOperation.Builder type(OperationType type)
The name of the operation that is associated with the specified ID.
type - The name of the operation that is associated with the specified ID.OperationType,
OperationTypeOperation.Builder status(String status)
The status of the operation. Values include the following:
This is the initial state immediately after you submit a request.
AWS Cloud Map is performing the operation.
The operation succeeded.
The operation failed. For the failure reason, see ErrorMessage.
status - The status of the operation. Values include the following:
This is the initial state immediately after you submit a request.
AWS Cloud Map is performing the operation.
The operation succeeded.
The operation failed. For the failure reason, see ErrorMessage.
OperationStatus,
OperationStatusOperation.Builder status(OperationStatus status)
The status of the operation. Values include the following:
This is the initial state immediately after you submit a request.
AWS Cloud Map is performing the operation.
The operation succeeded.
The operation failed. For the failure reason, see ErrorMessage.
status - The status of the operation. Values include the following:
This is the initial state immediately after you submit a request.
AWS Cloud Map is performing the operation.
The operation succeeded.
The operation failed. For the failure reason, see ErrorMessage.
OperationStatus,
OperationStatusOperation.Builder errorMessage(String errorMessage)
If the value of Status is FAIL, the reason that the operation failed.
errorMessage - If the value of Status is FAIL, the reason that the operation failed.Operation.Builder errorCode(String errorCode)
The code associated with ErrorMessage. Values for ErrorCode include the following:
ACCESS_DENIED
CANNOT_CREATE_HOSTED_ZONE
EXPIRED_TOKEN
HOSTED_ZONE_NOT_FOUND
INTERNAL_FAILURE
INVALID_CHANGE_BATCH
THROTTLED_REQUEST
errorCode - The code associated with ErrorMessage. Values for ErrorCode include the
following:
ACCESS_DENIED
CANNOT_CREATE_HOSTED_ZONE
EXPIRED_TOKEN
HOSTED_ZONE_NOT_FOUND
INTERNAL_FAILURE
INVALID_CHANGE_BATCH
THROTTLED_REQUEST
Operation.Builder createDate(Instant createDate)
The date and time that the request was submitted, in Unix date/time format and Coordinated Universal Time
(UTC). The value of CreateDate is accurate to milliseconds. For example, the value
1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
createDate - The date and time that the request was submitted, in Unix date/time format and Coordinated Universal
Time (UTC). The value of CreateDate is accurate to milliseconds. For example, the value
1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.Operation.Builder updateDate(Instant updateDate)
The date and time that the value of Status changed to the current value, in Unix date/time
format and Coordinated Universal Time (UTC). The value of UpdateDate is accurate to
milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018
12:11:30.087 AM.
updateDate - The date and time that the value of Status changed to the current value, in Unix
date/time format and Coordinated Universal Time (UTC). The value of UpdateDate is
accurate to milliseconds. For example, the value 1516925490.087 represents Friday,
January 26, 2018 12:11:30.087 AM.Operation.Builder targetsWithStrings(Map<String,String> targets)
The name of the target entity that is associated with the operation:
The namespace ID is returned in the ResourceId property.
The service ID is returned in the ResourceId property.
The instance ID is returned in the ResourceId property.
targets - The name of the target entity that is associated with the operation:
The namespace ID is returned in the ResourceId property.
The service ID is returned in the ResourceId property.
The instance ID is returned in the ResourceId property.
Operation.Builder targets(Map<OperationTargetType,String> targets)
The name of the target entity that is associated with the operation:
The namespace ID is returned in the ResourceId property.
The service ID is returned in the ResourceId property.
The instance ID is returned in the ResourceId property.
targets - The name of the target entity that is associated with the operation:
The namespace ID is returned in the ResourceId property.
The service ID is returned in the ResourceId property.
The instance ID is returned in the ResourceId property.
Copyright © 2021. All rights reserved.