Interface ListComponentsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListComponentsResponse.Builder,ListComponentsResponse>,ImagebuilderResponse.Builder,SdkBuilder<ListComponentsResponse.Builder,ListComponentsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListComponentsResponse
public static interface ListComponentsResponse.Builder extends ImagebuilderResponse.Builder, SdkPojo, CopyableBuilder<ListComponentsResponse.Builder,ListComponentsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListComponentsResponse.BuildercomponentVersionList(Collection<ComponentVersion> componentVersionList)The list of component semantic versions.ListComponentsResponse.BuildercomponentVersionList(Consumer<ComponentVersion.Builder>... componentVersionList)The list of component semantic versions.ListComponentsResponse.BuildercomponentVersionList(ComponentVersion... componentVersionList)The list of component semantic versions.ListComponentsResponse.BuildernextToken(String nextToken)The next token used for paginated responses.ListComponentsResponse.BuilderrequestId(String requestIdValue)The request ID that uniquely identifies this request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.imagebuilder.model.ImagebuilderResponse.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
-
requestId
ListComponentsResponse.Builder requestId(String requestIdValue)
The request ID that uniquely identifies this request.
- Parameters:
requestIdValue- The request ID that uniquely identifies this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentVersionList
ListComponentsResponse.Builder componentVersionList(Collection<ComponentVersion> componentVersionList)
The list of component semantic versions.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
- Parameters:
componentVersionList- The list of component semantic versions.The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentVersionList
ListComponentsResponse.Builder componentVersionList(ComponentVersion... componentVersionList)
The list of component semantic versions.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
- Parameters:
componentVersionList- The list of component semantic versions.The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentVersionList
ListComponentsResponse.Builder componentVersionList(Consumer<ComponentVersion.Builder>... componentVersionList)
The list of component semantic versions.
This is a convenience method that creates an instance of theThe semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
ComponentVersion.Builderavoiding the need to create one manually viaComponentVersion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#componentVersionList(List.) - Parameters:
componentVersionList- a consumer that will call methods onComponentVersion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#componentVersionList(java.util.Collection)
-
nextToken
ListComponentsResponse.Builder nextToken(String nextToken)
The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
- Parameters:
nextToken- The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-