@Generated(value="org.immutables.processor.ProxyProcessor") public final class ImmutableUploadToken extends Object implements UploadToken
UploadToken.
Use the builder to create immutable instances:
ImmutableUploadToken.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableUploadToken.Builder
Builds instances of type
ImmutableUploadToken. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableUploadToken.Builder |
builder()
Creates a builder for
ImmutableUploadToken. |
static ImmutableUploadToken |
copyOf(UploadToken instance)
Creates an immutable copy of a
UploadToken value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableUploadToken that have equal attribute values. |
UUID |
getPackageGuid() |
int |
hashCode()
Computes a hash code from attributes:
packageGuid. |
String |
toString()
Prints the immutable value
UploadToken with attribute values. |
ImmutableUploadToken |
withPackageGuid(UUID value)
Copy the current immutable object by setting a value for the
packageGuid attribute. |
public UUID getPackageGuid()
getPackageGuid in interface UploadTokenpackageGuid attributepublic final ImmutableUploadToken withPackageGuid(UUID value)
packageGuid attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for packageGuidthis objectpublic boolean equals(Object another)
ImmutableUploadToken that have equal attribute values.public int hashCode()
packageGuid.public String toString()
UploadToken with attribute values.public static ImmutableUploadToken copyOf(UploadToken instance)
UploadToken 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 ImmutableUploadToken.Builder builder()
ImmutableUploadToken.
ImmutableUploadToken.builder()
.packageGuid(UUID) // required packageGuid
.build();
Copyright © 2020 SAP SE. All rights reserved.