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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateClusterResponse.BuilderclusterId(String clusterId)The automatically generated ID for a cluster.CreateClusterResponse.BuilderjobListEntries(Collection<JobListEntry> jobListEntries)List of jobs created for this cluster.CreateClusterResponse.BuilderjobListEntries(Consumer<JobListEntry.Builder>... jobListEntries)List of jobs created for this cluster.CreateClusterResponse.BuilderjobListEntries(JobListEntry... jobListEntries)List of jobs created for this cluster.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
Methods inherited from interface software.amazon.awssdk.services.snowball.model.SnowballResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
clusterId
CreateClusterResponse.Builder clusterId(String 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
CreateClusterResponse.Builder jobListEntries(Collection<JobListEntry> 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
CreateClusterResponse.Builder jobListEntries(JobListEntry... 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
CreateClusterResponse.Builder jobListEntries(Consumer<JobListEntry.Builder>... 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 to#jobListEntries(List.) - 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:
#jobListEntries(java.util.Collection)
-
-