Interface ListDaemonsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDaemonsResponse.Builder,,ListDaemonsResponse> EcsResponse.Builder,SdkBuilder<ListDaemonsResponse.Builder,,ListDaemonsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDaemonsResponse
@Mutable
@NotThreadSafe
public static interface ListDaemonsResponse.Builder
extends EcsResponse.Builder, SdkPojo, CopyableBuilder<ListDaemonsResponse.Builder,ListDaemonsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondaemonSummariesList(Collection<DaemonSummary> daemonSummariesList) The list of daemon summaries.daemonSummariesList(Consumer<DaemonSummary.Builder>... daemonSummariesList) The list of daemon summaries.daemonSummariesList(DaemonSummary... daemonSummariesList) The list of daemon summaries.ThenextTokenvalue to include in a futureListDaemonsrequest.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecs.model.EcsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
daemonSummariesList
The list of daemon summaries.
- Parameters:
daemonSummariesList- The list of daemon summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
daemonSummariesList
The list of daemon summaries.
- Parameters:
daemonSummariesList- The list of daemon summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
daemonSummariesList
ListDaemonsResponse.Builder daemonSummariesList(Consumer<DaemonSummary.Builder>... daemonSummariesList) The list of daemon summaries.
This is a convenience method that creates an instance of theDaemonSummary.Builderavoiding the need to create one manually viaDaemonSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todaemonSummariesList(List<DaemonSummary>).- Parameters:
daemonSummariesList- a consumer that will call methods onDaemonSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The
nextTokenvalue to include in a futureListDaemonsrequest. When the results of aListDaemonsrequest exceedmaxResults, this value can be used to retrieve the next page of results.- Parameters:
nextToken- ThenextTokenvalue to include in a futureListDaemonsrequest. When the results of aListDaemonsrequest exceedmaxResults, this value can be used to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-