@Generated(value="org.immutables.processor.ProxyProcessor") public final class ImmutableCloudMetadata extends Object implements CloudMetadata
CloudMetadata.
Use the builder to create immutable instances:
ImmutableCloudMetadata.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableCloudMetadata.Builder
Builds instances of type
ImmutableCloudMetadata. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableCloudMetadata.Builder |
builder()
Creates a builder for
ImmutableCloudMetadata. |
static ImmutableCloudMetadata |
copyOf(CloudMetadata instance)
Creates an immutable copy of a
CloudMetadata value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableCloudMetadata that have equal attribute values. |
Date |
getCreatedAt() |
UUID |
getGuid() |
Date |
getUpdatedAt() |
String |
getUrl() |
int |
hashCode()
Computes a hash code from attributes:
guid, createdAt, updatedAt, url. |
String |
toString()
Prints the immutable value
CloudMetadata with attribute values. |
ImmutableCloudMetadata |
withCreatedAt(Date value)
Copy the current immutable object by setting a value for the
createdAt attribute. |
ImmutableCloudMetadata |
withGuid(UUID value)
Copy the current immutable object by setting a value for the
guid attribute. |
ImmutableCloudMetadata |
withUpdatedAt(Date value)
Copy the current immutable object by setting a value for the
updatedAt attribute. |
ImmutableCloudMetadata |
withUrl(String value)
Copy the current immutable object by setting a value for the
url attribute. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitdefaultMetadatapublic UUID getGuid()
getGuid in interface CloudMetadataguid attributepublic Date getCreatedAt()
getCreatedAt in interface CloudMetadatacreatedAt attributepublic Date getUpdatedAt()
getUpdatedAt in interface CloudMetadataupdatedAt attributepublic String getUrl()
getUrl in interface CloudMetadataurl attributepublic final ImmutableCloudMetadata withGuid(UUID value)
guid attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for guid (can be null)this objectpublic final ImmutableCloudMetadata withCreatedAt(Date value)
createdAt attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for createdAt (can be null)this objectpublic final ImmutableCloudMetadata withUpdatedAt(Date value)
updatedAt attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for updatedAt (can be null)this objectpublic final ImmutableCloudMetadata withUrl(String value)
url attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for url (can be null)this objectpublic boolean equals(Object another)
ImmutableCloudMetadata that have equal attribute values.public int hashCode()
guid, createdAt, updatedAt, url.public String toString()
CloudMetadata with attribute values.public static ImmutableCloudMetadata copyOf(CloudMetadata instance)
CloudMetadata 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 ImmutableCloudMetadata.Builder builder()
ImmutableCloudMetadata.
ImmutableCloudMetadata.builder()
.guid(UUID | null) // nullable guid
.createdAt(Date | null) // nullable createdAt
.updatedAt(Date | null) // nullable updatedAt
.url(String | null) // nullable url
.build();
Copyright © 2020 SAP SE. All rights reserved.