public static final class ImmutableCloudBuild.ImmutableDropletInfo extends Object implements CloudBuild.DropletInfo
CloudBuild.DropletInfo.
Use the builder to create immutable instances:
ImmutableCloudBuild.ImmutableDropletInfo.builder().
Use the static factory method to create immutable instances:
ImmutableCloudBuild.ImmutableDropletInfo.of().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableCloudBuild.ImmutableDropletInfo.Builder
Builds instances of type
ImmutableDropletInfo. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableCloudBuild.ImmutableDropletInfo.Builder |
builder()
Creates a builder for
ImmutableDropletInfo. |
static ImmutableCloudBuild.ImmutableDropletInfo |
copyOf(CloudBuild.DropletInfo instance)
Creates an immutable copy of a
CloudBuild.DropletInfo value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableDropletInfo that have equal attribute values. |
UUID |
getGuid() |
int |
hashCode()
Computes a hash code from attributes:
guid. |
static ImmutableCloudBuild.ImmutableDropletInfo |
of(UUID guid)
Construct a new immutable
DropletInfo instance. |
String |
toString()
Prints the immutable value
DropletInfo with attribute values. |
ImmutableCloudBuild.ImmutableDropletInfo |
withGuid(UUID value)
Copy the current immutable object by setting a value for the
guid attribute. |
public UUID getGuid()
getGuid in interface CloudBuild.DropletInfoguid attributepublic final ImmutableCloudBuild.ImmutableDropletInfo 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 boolean equals(Object another)
ImmutableDropletInfo that have equal attribute values.public int hashCode()
guid.public String toString()
DropletInfo with attribute values.public static ImmutableCloudBuild.ImmutableDropletInfo of(UUID guid)
DropletInfo instance.guid - The value for the guid attributepublic static ImmutableCloudBuild.ImmutableDropletInfo copyOf(CloudBuild.DropletInfo instance)
CloudBuild.DropletInfo 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 ImmutableCloudBuild.ImmutableDropletInfo.Builder builder()
ImmutableDropletInfo.
ImmutableCloudBuild.ImmutableDropletInfo.builder()
.guid(UUID | null) // nullable guid
.build();
Copyright © 2020 SAP SE. All rights reserved.