Interface Operation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Operation.Builder,Operation>,SdkBuilder<Operation.Builder,Operation>,SdkPojo
- Enclosing class:
- Operation
public static interface Operation.Builder extends SdkPojo, CopyableBuilder<Operation.Builder,Operation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Operation.BuildercreateDate(Instant createDate)The date and time that the request was submitted, in Unix date/time format and Coordinated Universal Time (UTC).Operation.BuildererrorCode(String errorCode)The code associated withErrorMessage.Operation.BuildererrorMessage(String errorMessage)If the value ofStatusisFAIL, the reason that the operation failed.Operation.Builderid(String id)The ID of the operation that you want to get information about.Operation.Builderstatus(String status)The status of the operation.Operation.Builderstatus(OperationStatus status)The status of the operation.Operation.Buildertargets(Map<OperationTargetType,String> targets)The name of the target entity that's associated with the operation:Operation.BuildertargetsWithStrings(Map<String,String> targets)The name of the target entity that's associated with the operation:Operation.Buildertype(String type)The name of the operation that's associated with the specified ID.Operation.Buildertype(OperationType type)The name of the operation that's associated with the specified ID.Operation.BuilderupdateDate(Instant updateDate)The date and time that the value ofStatuschanged to the current value, in Unix date/time format and Coordinated Universal Time (UTC).-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
Operation.Builder id(String id)
The ID of the operation that you want to get information about.
- Parameters:
id- The ID of the operation that you want to get information about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Operation.Builder type(String type)
The name of the operation that's associated with the specified ID.
- Parameters:
type- The name of the operation that's associated with the specified ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OperationType,OperationType
-
type
Operation.Builder type(OperationType type)
The name of the operation that's associated with the specified ID.
- Parameters:
type- The name of the operation that's associated with the specified ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OperationType,OperationType
-
status
Operation.Builder status(String status)
The status of the operation. Values include the following:
- SUBMITTED
-
This is the initial state that occurs immediately after you submit a request.
- PENDING
-
Cloud Map is performing the operation.
- SUCCESS
-
The operation succeeded.
- FAIL
-
The operation failed. For the failure reason, see
ErrorMessage.
- Parameters:
status- The status of the operation. Values include the following:- SUBMITTED
-
This is the initial state that occurs immediately after you submit a request.
- PENDING
-
Cloud Map is performing the operation.
- SUCCESS
-
The operation succeeded.
- FAIL
-
The operation failed. For the failure reason, see
ErrorMessage.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OperationStatus,OperationStatus
-
status
Operation.Builder status(OperationStatus status)
The status of the operation. Values include the following:
- SUBMITTED
-
This is the initial state that occurs immediately after you submit a request.
- PENDING
-
Cloud Map is performing the operation.
- SUCCESS
-
The operation succeeded.
- FAIL
-
The operation failed. For the failure reason, see
ErrorMessage.
- Parameters:
status- The status of the operation. Values include the following:- SUBMITTED
-
This is the initial state that occurs immediately after you submit a request.
- PENDING
-
Cloud Map is performing the operation.
- SUCCESS
-
The operation succeeded.
- FAIL
-
The operation failed. For the failure reason, see
ErrorMessage.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OperationStatus,OperationStatus
-
errorMessage
Operation.Builder errorMessage(String errorMessage)
If the value of
StatusisFAIL, the reason that the operation failed.- Parameters:
errorMessage- If the value ofStatusisFAIL, the reason that the operation failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
Operation.Builder errorCode(String errorCode)
The code associated with
ErrorMessage. Values forErrorCodeinclude the following:-
ACCESS_DENIED -
CANNOT_CREATE_HOSTED_ZONE -
EXPIRED_TOKEN -
HOSTED_ZONE_NOT_FOUND -
INTERNAL_FAILURE -
INVALID_CHANGE_BATCH -
THROTTLED_REQUEST
- Parameters:
errorCode- The code associated withErrorMessage. Values forErrorCodeinclude the following:-
ACCESS_DENIED -
CANNOT_CREATE_HOSTED_ZONE -
EXPIRED_TOKEN -
HOSTED_ZONE_NOT_FOUND -
INTERNAL_FAILURE -
INVALID_CHANGE_BATCH -
THROTTLED_REQUEST
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
createDate
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
CreateDateis accurate to milliseconds. For example, the value1516925490.087represents Friday, January 26, 2018 12:11:30.087 AM.- Parameters:
createDate- The date and time that the request was submitted, in Unix date/time format and Coordinated Universal Time (UTC). The value ofCreateDateis accurate to milliseconds. For example, the value1516925490.087represents Friday, January 26, 2018 12:11:30.087 AM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateDate
Operation.Builder updateDate(Instant updateDate)
The date and time that the value of
Statuschanged to the current value, in Unix date/time format and Coordinated Universal Time (UTC). The value ofUpdateDateis accurate to milliseconds. For example, the value1516925490.087represents Friday, January 26, 2018 12:11:30.087 AM.- Parameters:
updateDate- The date and time that the value ofStatuschanged to the current value, in Unix date/time format and Coordinated Universal Time (UTC). The value ofUpdateDateis accurate to milliseconds. For example, the value1516925490.087represents Friday, January 26, 2018 12:11:30.087 AM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetsWithStrings
Operation.Builder targetsWithStrings(Map<String,String> targets)
The name of the target entity that's associated with the operation:
- NAMESPACE
-
The namespace ID is returned in the
ResourceIdproperty. - SERVICE
-
The service ID is returned in the
ResourceIdproperty. - INSTANCE
-
The instance ID is returned in the
ResourceIdproperty.
- Parameters:
targets- The name of the target entity that's associated with the operation:- NAMESPACE
-
The namespace ID is returned in the
ResourceIdproperty. - SERVICE
-
The service ID is returned in the
ResourceIdproperty. - INSTANCE
-
The instance ID is returned in the
ResourceIdproperty.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
Operation.Builder targets(Map<OperationTargetType,String> targets)
The name of the target entity that's associated with the operation:
- NAMESPACE
-
The namespace ID is returned in the
ResourceIdproperty. - SERVICE
-
The service ID is returned in the
ResourceIdproperty. - INSTANCE
-
The instance ID is returned in the
ResourceIdproperty.
- Parameters:
targets- The name of the target entity that's associated with the operation:- NAMESPACE
-
The namespace ID is returned in the
ResourceIdproperty. - SERVICE
-
The service ID is returned in the
ResourceIdproperty. - INSTANCE
-
The instance ID is returned in the
ResourceIdproperty.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-