@NotThreadSafe public static final class ImmutableListLocationBackupGroupRunsParams.Builder extends Object
ImmutableListLocationBackupGroupRunsParams.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
ImmutableListLocationBackupGroupRunsParams |
build()
Builds a new
ImmutableListLocationBackupGroupRunsParams. |
ImmutableListLocationBackupGroupRunsParams.Builder |
endTime(Instant endTime)
Initializes the optional value
endTime to endTime. |
ImmutableListLocationBackupGroupRunsParams.Builder |
endTime(Optional<? extends Instant> endTime)
Initializes the optional value
endTime to endTime. |
ImmutableListLocationBackupGroupRunsParams.Builder |
from(ListLocationBackupGroupRunsParams instance)
Fill a builder with attribute values from the provided
ListLocationBackupGroupRunsParams instance. |
ImmutableListLocationBackupGroupRunsParams.Builder |
startTime(Instant startTime)
Initializes the optional value
startTime to startTime. |
ImmutableListLocationBackupGroupRunsParams.Builder |
startTime(Optional<? extends Instant> startTime)
Initializes the optional value
startTime to startTime. |
public final ImmutableListLocationBackupGroupRunsParams.Builder from(ListLocationBackupGroupRunsParams instance)
ListLocationBackupGroupRunsParams instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableListLocationBackupGroupRunsParams.Builder startTime(Instant startTime)
startTime to startTime.startTime - The value for startTimethis builder for chained invocationpublic final ImmutableListLocationBackupGroupRunsParams.Builder startTime(Optional<? extends Instant> startTime)
startTime to startTime.startTime - The value for startTimethis builder for use in a chained invocationpublic final ImmutableListLocationBackupGroupRunsParams.Builder endTime(Instant endTime)
endTime to endTime.endTime - The value for endTimethis builder for chained invocationpublic final ImmutableListLocationBackupGroupRunsParams.Builder endTime(Optional<? extends Instant> endTime)
endTime to endTime.endTime - The value for endTimethis builder for use in a chained invocationpublic ImmutableListLocationBackupGroupRunsParams build()
ImmutableListLocationBackupGroupRunsParams.IllegalStateException - if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.