Interface CreateClusterResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateClusterResponse.Builder,,CreateClusterResponse> SdkBuilder<CreateClusterResponse.Builder,,CreateClusterResponse> SdkPojo,SdkResponse.Builder,SnowballResponse.Builder
- Enclosing class:
CreateClusterResponse
public static interface CreateClusterResponse.Builder
extends SnowballResponse.Builder, SdkPojo, CopyableBuilder<CreateClusterResponse.Builder,CreateClusterResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe automatically generated ID for a cluster.jobListEntries(Collection<JobListEntry> jobListEntries) List of jobs created for this cluster.jobListEntries(Consumer<JobListEntry.Builder>... jobListEntries) List of jobs created for this cluster.jobListEntries(JobListEntry... jobListEntries) List of jobs created for this cluster.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.snowball.model.SnowballResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
clusterId
The automatically generated ID for a cluster.
- Parameters:
clusterId- The automatically generated ID for a cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobListEntries
List of jobs created for this cluster. For syntax, see ListJobsResult$JobListEntries in this guide.
- Parameters:
jobListEntries- List of jobs created for this cluster. For syntax, see ListJobsResult$JobListEntries in this guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobListEntries
List of jobs created for this cluster. For syntax, see ListJobsResult$JobListEntries in this guide.
- Parameters:
jobListEntries- List of jobs created for this cluster. For syntax, see ListJobsResult$JobListEntries in this guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobListEntries
List of jobs created for this cluster. For syntax, see ListJobsResult$JobListEntries in this guide.
This is a convenience method that creates an instance of theJobListEntry.Builderavoiding the need to create one manually viaJobListEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobListEntries(List<JobListEntry>).- Parameters:
jobListEntries- a consumer that will call methods onJobListEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-