CopyableBuilder<SetStatusRequest.Builder,SetStatusRequest>
, SdkBuilder<SetStatusRequest.Builder,SetStatusRequest>
public static interface SetStatusRequest.Builder extends CopyableBuilder<SetStatusRequest.Builder,SetStatusRequest>
Modifier and Type | Method | Description |
---|---|---|
SetStatusRequest.Builder |
objectIds(String... objectIds) |
The IDs of the objects.
|
SetStatusRequest.Builder |
objectIds(Collection<String> objectIds) |
The IDs of the objects.
|
SetStatusRequest.Builder |
pipelineId(String pipelineId) |
The ID of the pipeline that contains the objects.
|
SetStatusRequest.Builder |
status(String status) |
The status to be set on all the objects specified in
objectIds . |
copy
apply, build
SetStatusRequest.Builder pipelineId(String pipelineId)
The ID of the pipeline that contains the objects.
pipelineId
- The ID of the pipeline that contains the objects.SetStatusRequest.Builder objectIds(Collection<String> objectIds)
The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of both types.
objectIds
- The IDs of the objects. The corresponding objects can be either physical or components, but not a mix
of both types.SetStatusRequest.Builder objectIds(String... objectIds)
The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of both types.
NOTE: This method appends the values to the existing list (if any). Use
#setObjectIds(java.util.Collection)
or #withObjectIds(java.util.Collection)
if you want to
override the existing values.
objectIds
- The IDs of the objects. The corresponding objects can be either physical or components, but not a mix
of both types.SetStatusRequest.Builder status(String status)
The status to be set on all the objects specified in objectIds
. For components, use
PAUSE
or RESUME
. For instances, use TRY_CANCEL
, RERUN
, or
MARK_FINISHED
.
status
- The status to be set on all the objects specified in objectIds
. For components, use
PAUSE
or RESUME
. For instances, use TRY_CANCEL
,
RERUN
, or MARK_FINISHED
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.