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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCreatedArtifactsResponse.BuildercreatedArtifactList(Collection<CreatedArtifact> createdArtifactList)List of created artifacts up to the maximum number of results specified in the request.ListCreatedArtifactsResponse.BuildercreatedArtifactList(Consumer<CreatedArtifact.Builder>... createdArtifactList)List of created artifacts up to the maximum number of results specified in the request.ListCreatedArtifactsResponse.BuildercreatedArtifactList(CreatedArtifact... createdArtifactList)List of created artifacts up to the maximum number of results specified in the request.ListCreatedArtifactsResponse.BuildernextToken(String 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.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListCreatedArtifactsResponse.Builder nextToken(String 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
ListCreatedArtifactsResponse.Builder createdArtifactList(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
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.Builderavoiding the need to create one manually viaCreatedArtifact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#createdArtifactList(List.) - 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:
#createdArtifactList(java.util.Collection)
-
-