Interface WorldGenerationJobSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WorldGenerationJobSummary.Builder,WorldGenerationJobSummary>,SdkBuilder<WorldGenerationJobSummary.Builder,WorldGenerationJobSummary>,SdkPojo
- Enclosing class:
- WorldGenerationJobSummary
public static interface WorldGenerationJobSummary.Builder extends SdkPojo, CopyableBuilder<WorldGenerationJobSummary.Builder,WorldGenerationJobSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description WorldGenerationJobSummary.Builderarn(String arn)The Amazon Resource Name (ARN) of the world generator job.WorldGenerationJobSummary.BuildercreatedAt(Instant createdAt)The time, in milliseconds since the epoch, when the world generator job was created.WorldGenerationJobSummary.BuilderfailedWorldCount(Integer failedWorldCount)The number of worlds that failed.WorldGenerationJobSummary.Builderstatus(String status)The status of the world generator job:WorldGenerationJobSummary.Builderstatus(WorldGenerationJobStatus status)The status of the world generator job:WorldGenerationJobSummary.BuildersucceededWorldCount(Integer succeededWorldCount)The number of worlds that were generated.WorldGenerationJobSummary.Buildertemplate(String template)The Amazon Resource Name (arn) of the world template.default WorldGenerationJobSummary.BuilderworldCount(Consumer<WorldCount.Builder> worldCount)Information about the world count.WorldGenerationJobSummary.BuilderworldCount(WorldCount worldCount)Information about the world count.-
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, sdkFields
-
-
-
-
Method Detail
-
arn
WorldGenerationJobSummary.Builder arn(String arn)
The Amazon Resource Name (ARN) of the world generator job.
- Parameters:
arn- The Amazon Resource Name (ARN) of the world generator job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
template
WorldGenerationJobSummary.Builder template(String template)
The Amazon Resource Name (arn) of the world template.
- Parameters:
template- The Amazon Resource Name (arn) of the world template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
WorldGenerationJobSummary.Builder createdAt(Instant createdAt)
The time, in milliseconds since the epoch, when the world generator job was created.
- Parameters:
createdAt- The time, in milliseconds since the epoch, when the world generator job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
WorldGenerationJobSummary.Builder status(String status)
The status of the world generator job:
- Pending
-
The world generator job request is pending.
- Running
-
The world generator job is running.
- Completed
-
The world generator job completed.
- Failed
-
The world generator job failed. See
failureCodefor more information. - PartialFailed
-
Some worlds did not generate.
- Canceled
-
The world generator job was cancelled.
- Canceling
-
The world generator job is being cancelled.
- Parameters:
status- The status of the world generator job:- Pending
-
The world generator job request is pending.
- Running
-
The world generator job is running.
- Completed
-
The world generator job completed.
- Failed
-
The world generator job failed. See
failureCodefor more information. - PartialFailed
-
Some worlds did not generate.
- Canceled
-
The world generator job was cancelled.
- Canceling
-
The world generator job is being cancelled.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorldGenerationJobStatus,WorldGenerationJobStatus
-
status
WorldGenerationJobSummary.Builder status(WorldGenerationJobStatus status)
The status of the world generator job:
- Pending
-
The world generator job request is pending.
- Running
-
The world generator job is running.
- Completed
-
The world generator job completed.
- Failed
-
The world generator job failed. See
failureCodefor more information. - PartialFailed
-
Some worlds did not generate.
- Canceled
-
The world generator job was cancelled.
- Canceling
-
The world generator job is being cancelled.
- Parameters:
status- The status of the world generator job:- Pending
-
The world generator job request is pending.
- Running
-
The world generator job is running.
- Completed
-
The world generator job completed.
- Failed
-
The world generator job failed. See
failureCodefor more information. - PartialFailed
-
Some worlds did not generate.
- Canceled
-
The world generator job was cancelled.
- Canceling
-
The world generator job is being cancelled.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorldGenerationJobStatus,WorldGenerationJobStatus
-
worldCount
WorldGenerationJobSummary.Builder worldCount(WorldCount worldCount)
Information about the world count.
- Parameters:
worldCount- Information about the world count.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
worldCount
default WorldGenerationJobSummary.Builder worldCount(Consumer<WorldCount.Builder> worldCount)
Information about the world count.
This is a convenience method that creates an instance of theWorldCount.Builderavoiding the need to create one manually viaWorldCount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworldCount(WorldCount).- Parameters:
worldCount- a consumer that will call methods onWorldCount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
worldCount(WorldCount)
-
succeededWorldCount
WorldGenerationJobSummary.Builder succeededWorldCount(Integer succeededWorldCount)
The number of worlds that were generated.
- Parameters:
succeededWorldCount- The number of worlds that were generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedWorldCount
WorldGenerationJobSummary.Builder failedWorldCount(Integer failedWorldCount)
The number of worlds that failed.
- Parameters:
failedWorldCount- The number of worlds that failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-