Interface ListMonitorsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListMonitorsResponse.Builder,ListMonitorsResponse>,DeadlineResponse.Builder,SdkBuilder<ListMonitorsResponse.Builder,ListMonitorsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListMonitorsResponse
public static interface ListMonitorsResponse.Builder extends DeadlineResponse.Builder, SdkPojo, CopyableBuilder<ListMonitorsResponse.Builder,ListMonitorsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListMonitorsResponse.Buildermonitors(Collection<MonitorSummary> monitors)A list ofMonitorSummaryobjects that describe your monitors in the Deadline Cloud.ListMonitorsResponse.Buildermonitors(Consumer<MonitorSummary.Builder>... monitors)A list ofMonitorSummaryobjects that describe your monitors in the Deadline Cloud.ListMonitorsResponse.Buildermonitors(MonitorSummary... monitors)A list ofMonitorSummaryobjects that describe your monitors in the Deadline Cloud.ListMonitorsResponse.BuildernextToken(String nextToken)If Deadline Cloud returnsnextToken, then there are more results available.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
monitors
ListMonitorsResponse.Builder monitors(Collection<MonitorSummary> monitors)
A list of
MonitorSummaryobjects that describe your monitors in the Deadline Cloud.- Parameters:
monitors- A list ofMonitorSummaryobjects that describe your monitors in the Deadline Cloud.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitors
ListMonitorsResponse.Builder monitors(MonitorSummary... monitors)
A list of
MonitorSummaryobjects that describe your monitors in the Deadline Cloud.- Parameters:
monitors- A list ofMonitorSummaryobjects that describe your monitors in the Deadline Cloud.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitors
ListMonitorsResponse.Builder monitors(Consumer<MonitorSummary.Builder>... monitors)
A list of
This is a convenience method that creates an instance of theMonitorSummaryobjects that describe your monitors in the Deadline Cloud.MonitorSummary.Builderavoiding the need to create one manually viaMonitorSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#monitors(List.) - Parameters:
monitors- a consumer that will call methods onMonitorSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#monitors(java.util.Collection)
-
nextToken
ListMonitorsResponse.Builder nextToken(String nextToken)
If Deadline Cloud returns
nextToken, then there are more results available. The value ofnextTokenis a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, thennextTokenis set tonull. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400ValidationExceptionerror.- Parameters:
nextToken- If Deadline Cloud returnsnextToken, then there are more results available. The value ofnextTokenis a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, thennextTokenis set tonull. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400ValidationExceptionerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-