Interface ListServicesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListServicesResponse.Builder,,ListServicesResponse> DevOpsAgentResponse.Builder,SdkBuilder<ListServicesResponse.Builder,,ListServicesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListServicesResponse
@Mutable
@NotThreadSafe
public static interface ListServicesResponse.Builder
extends DevOpsAgentResponse.Builder, SdkPojo, CopyableBuilder<ListServicesResponse.Builder,ListServicesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionToken to retrieve the next page of results, if there are more results.services(Collection<RegisteredService> services) Sets the value of the Services property for this object.services(Consumer<RegisteredService.Builder>... services) Sets the value of the Services property for this object.services(RegisteredService... services) Sets the value of the Services property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devopsagent.model.DevOpsAgentResponse.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
-
nextToken
Token to retrieve the next page of results, if there are more results.
- Parameters:
nextToken- Token to retrieve the next page of results, if there are more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
Sets the value of the Services property for this object.- Parameters:
services- The new value for the Services property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
Sets the value of the Services property for this object.- Parameters:
services- The new value for the Services property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
Sets the value of the Services property for this object. This is a convenience method that creates an instance of theRegisteredService.Builderavoiding the need to create one manually viaRegisteredService.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toservices(List<RegisteredService>).- Parameters:
services- a consumer that will call methods onRegisteredService.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-