@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableListLocationBackupGroupRunsParams extends Object implements ListLocationBackupGroupRunsParams
ListLocationBackupGroupRunsParams.
Use the builder to create immutable instances:
ImmutableListLocationBackupGroupRunsParams.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableListLocationBackupGroupRunsParams.Builder
Builds instances of type
ImmutableListLocationBackupGroupRunsParams. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableListLocationBackupGroupRunsParams.Builder |
builder()
Creates a builder for
ImmutableListLocationBackupGroupRunsParams. |
static ImmutableListLocationBackupGroupRunsParams |
copyOf(ListLocationBackupGroupRunsParams instance)
Creates an immutable copy of a
ListLocationBackupGroupRunsParams value. |
Optional<Instant> |
endTime()
If specified, only returns that started prior to the specified time will be
returned.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableListLocationBackupGroupRunsParams that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
startTime, endTime. |
Optional<Instant> |
startTime()
If specified, only returns that started after the specified time will be
returned.
|
String |
toString()
Prints the immutable value
ListLocationBackupGroupRunsParams with attribute values. |
ImmutableListLocationBackupGroupRunsParams |
withEndTime(Instant value)
Copy the current immutable object by setting a present value for the optional
endTime attribute. |
ImmutableListLocationBackupGroupRunsParams |
withEndTime(Optional<? extends Instant> optional)
Copy the current immutable object by setting an optional value for the
endTime attribute. |
ImmutableListLocationBackupGroupRunsParams |
withStartTime(Instant value)
Copy the current immutable object by setting a present value for the optional
startTime attribute. |
ImmutableListLocationBackupGroupRunsParams |
withStartTime(Optional<? extends Instant> optional)
Copy the current immutable object by setting an optional value for the
startTime attribute. |
public Optional<Instant> startTime()
startTime in interface ListLocationBackupGroupRunsParamspublic Optional<Instant> endTime()
endTime in interface ListLocationBackupGroupRunsParamspublic final ImmutableListLocationBackupGroupRunsParams withStartTime(Instant value)
startTime attribute.value - The value for startTimethis objectpublic final ImmutableListLocationBackupGroupRunsParams withStartTime(Optional<? extends Instant> optional)
startTime attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.optional - A value for startTimethis objectpublic final ImmutableListLocationBackupGroupRunsParams withEndTime(Instant value)
endTime attribute.value - The value for endTimethis objectpublic final ImmutableListLocationBackupGroupRunsParams withEndTime(Optional<? extends Instant> optional)
endTime attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.optional - A value for endTimethis objectpublic boolean equals(@Nullable Object another)
ImmutableListLocationBackupGroupRunsParams that have equal attribute values.public int hashCode()
startTime, endTime.public String toString()
ListLocationBackupGroupRunsParams with attribute values.public static ImmutableListLocationBackupGroupRunsParams copyOf(ListLocationBackupGroupRunsParams instance)
ListLocationBackupGroupRunsParams value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableListLocationBackupGroupRunsParams.Builder builder()
ImmutableListLocationBackupGroupRunsParams.
ImmutableListLocationBackupGroupRunsParams.builder()
.startTime(java.time.Instant) // optional startTime
.endTime(java.time.Instant) // optional endTime
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.