Interface ListComponentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListComponentsResponse.Builder,,ListComponentsResponse> SdkBuilder<ListComponentsResponse.Builder,,ListComponentsResponse> SdkPojo,SdkResponse.Builder,SsmSapResponse.Builder
- Enclosing class:
ListComponentsResponse
public static interface ListComponentsResponse.Builder
extends SsmSapResponse.Builder, SdkPojo, CopyableBuilder<ListComponentsResponse.Builder,ListComponentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncomponents(Collection<ComponentSummary> components) List of components registered with AWS System Manager for SAP.components(Consumer<ComponentSummary.Builder>... components) List of components registered with AWS System Manager for SAP.components(ComponentSummary... components) List of components registered with AWS System Manager for SAP.The token to use to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.ssmsap.model.SsmSapResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
components
List of components registered with AWS System Manager for SAP.
- Parameters:
components- List of components registered with AWS System Manager for SAP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
components
List of components registered with AWS System Manager for SAP.
- Parameters:
components- List of components registered with AWS System Manager for SAP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
components
List of components registered with AWS System Manager for SAP.
This is a convenience method that creates an instance of theComponentSummary.Builderavoiding the need to create one manually viaComponentSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocomponents(List<ComponentSummary>).- Parameters:
components- a consumer that will call methods onComponentSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
- Parameters:
nextToken- The token to use to retrieve the next page of results. This value is null when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-