Interface ListCreatedArtifactsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCreatedArtifactsResponse.Builder,
,ListCreatedArtifactsResponse> MigrationHubResponse.Builder
,SdkBuilder<ListCreatedArtifactsResponse.Builder,
,ListCreatedArtifactsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCreatedArtifactsResponse
public static interface ListCreatedArtifactsResponse.Builder
extends MigrationHubResponse.Builder, SdkPojo, CopyableBuilder<ListCreatedArtifactsResponse.Builder,ListCreatedArtifactsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncreatedArtifactList
(Collection<CreatedArtifact> createdArtifactList) List of created artifacts up to the maximum number of results specified in the request.createdArtifactList
(Consumer<CreatedArtifact.Builder>... createdArtifactList) List of created artifacts up to the maximum number of results specified in the request.createdArtifactList
(CreatedArtifact... createdArtifactList) List of created artifacts up to the maximum number of results specified in the request.If there are more created artifacts than the max result, return the next token to be passed to the next call as a bookmark of where to start from.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.migrationhub.model.MigrationHubResponse.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 Details
-
nextToken
If there are more created artifacts than the max result, return the next token to be passed to the next call as a bookmark of where to start from.
- Parameters:
nextToken
- If there are more created artifacts than the max result, return the next token to be passed to the next call as a bookmark of where to start from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdArtifactList
ListCreatedArtifactsResponse.Builder createdArtifactList(Collection<CreatedArtifact> createdArtifactList) List of created artifacts up to the maximum number of results specified in the request.
- Parameters:
createdArtifactList
- List of created artifacts up to the maximum number of results specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdArtifactList
List of created artifacts up to the maximum number of results specified in the request.
- Parameters:
createdArtifactList
- List of created artifacts up to the maximum number of results specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdArtifactList
ListCreatedArtifactsResponse.Builder createdArtifactList(Consumer<CreatedArtifact.Builder>... createdArtifactList) List of created artifacts up to the maximum number of results specified in the request.
This is a convenience method that creates an instance of theCreatedArtifact.Builder
avoiding the need to create one manually viaCreatedArtifact.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreatedArtifactList(List<CreatedArtifact>)
.- Parameters:
createdArtifactList
- a consumer that will call methods onCreatedArtifact.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-