Interface DescribeBatchSegmentJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeBatchSegmentJobResponse.Builder,
,DescribeBatchSegmentJobResponse> PersonalizeResponse.Builder
,SdkBuilder<DescribeBatchSegmentJobResponse.Builder,
,DescribeBatchSegmentJobResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeBatchSegmentJobResponse
public static interface DescribeBatchSegmentJobResponse.Builder
extends PersonalizeResponse.Builder, SdkPojo, CopyableBuilder<DescribeBatchSegmentJobResponse.Builder,DescribeBatchSegmentJobResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbatchSegmentJob
(Consumer<BatchSegmentJob.Builder> batchSegmentJob) Information on the specified batch segment job.batchSegmentJob
(BatchSegmentJob batchSegmentJob) Information on the specified batch segment job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.personalize.model.PersonalizeResponse.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
-
batchSegmentJob
Information on the specified batch segment job.
- Parameters:
batchSegmentJob
- Information on the specified batch segment job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchSegmentJob
default DescribeBatchSegmentJobResponse.Builder batchSegmentJob(Consumer<BatchSegmentJob.Builder> batchSegmentJob) Information on the specified batch segment job.
This is a convenience method that creates an instance of theBatchSegmentJob.Builder
avoiding the need to create one manually viaBatchSegmentJob.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobatchSegmentJob(BatchSegmentJob)
.- Parameters:
batchSegmentJob
- a consumer that will call methods onBatchSegmentJob.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-