public static final class ImmutableCloudBuild.ImmutableCreatedBy extends Object implements CloudBuild.CreatedBy
CloudBuild.CreatedBy.
Use the builder to create immutable instances:
ImmutableCloudBuild.ImmutableCreatedBy.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableCloudBuild.ImmutableCreatedBy.Builder
Builds instances of type
ImmutableCreatedBy. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableCloudBuild.ImmutableCreatedBy.Builder |
builder()
Creates a builder for
ImmutableCreatedBy. |
static ImmutableCloudBuild.ImmutableCreatedBy |
copyOf(CloudBuild.CreatedBy instance)
Creates an immutable copy of a
CloudBuild.CreatedBy value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableCreatedBy that have equal attribute values. |
UUID |
getGuid() |
String |
getName() |
int |
hashCode()
Computes a hash code from attributes:
guid, name. |
String |
toString()
Prints the immutable value
CreatedBy with attribute values. |
ImmutableCloudBuild.ImmutableCreatedBy |
withGuid(UUID value)
Copy the current immutable object by setting a value for the
guid attribute. |
ImmutableCloudBuild.ImmutableCreatedBy |
withName(String value)
Copy the current immutable object by setting a value for the
name attribute. |
public UUID getGuid()
getGuid in interface CloudBuild.CreatedByguid attributepublic String getName()
getName in interface CloudBuild.CreatedByname attributepublic final ImmutableCloudBuild.ImmutableCreatedBy 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 ImmutableCloudBuild.ImmutableCreatedBy withName(String value)
name attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for name (can be null)this objectpublic boolean equals(Object another)
ImmutableCreatedBy that have equal attribute values.public int hashCode()
guid, name.public String toString()
CreatedBy with attribute values.public static ImmutableCloudBuild.ImmutableCreatedBy copyOf(CloudBuild.CreatedBy instance)
CloudBuild.CreatedBy 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.ImmutableCreatedBy.Builder builder()
ImmutableCreatedBy.
ImmutableCloudBuild.ImmutableCreatedBy.builder()
.guid(UUID | null) // nullable guid
.name(String | null) // nullable name
.build();
Copyright © 2020 SAP SE. All rights reserved.