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 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

      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 the CreatedArtifact.Builder avoiding the need to create one manually via CreatedArtifact.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to createdArtifactList(List<CreatedArtifact>).

      Parameters:
      createdArtifactList - a consumer that will call methods on CreatedArtifact.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: