@Generated(value="org.immutables.processor.ProxyProcessor") public final class ImmutableCloudBuild extends Object implements CloudBuild
CloudBuild.
Use the builder to create immutable instances:
ImmutableCloudBuild.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableCloudBuild.Builder
Builds instances of type
ImmutableCloudBuild. |
static class |
ImmutableCloudBuild.ImmutableCreatedBy
Immutable implementation of
CloudBuild.CreatedBy. |
static class |
ImmutableCloudBuild.ImmutableDropletInfo
Immutable implementation of
CloudBuild.DropletInfo. |
static class |
ImmutableCloudBuild.ImmutablePackageInfo
Immutable implementation of
CloudBuild.PackageInfo. |
CloudBuild.CreatedBy, CloudBuild.DropletInfo, CloudBuild.PackageInfo, CloudBuild.State| Modifier and Type | Method and Description |
|---|---|
static ImmutableCloudBuild.Builder |
builder()
Creates a builder for
ImmutableCloudBuild. |
static ImmutableCloudBuild |
copyOf(CloudBuild instance)
Creates an immutable copy of a
CloudBuild value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableCloudBuild that have equal attribute values. |
CloudBuild.CreatedBy |
getCreatedBy() |
CloudBuild.DropletInfo |
getDropletInfo() |
String |
getError() |
CloudMetadata |
getMetadata() |
String |
getName() |
CloudBuild.PackageInfo |
getPackageInfo() |
CloudBuild.State |
getState() |
org.cloudfoundry.client.v3.Metadata |
getV3Metadata() |
int |
hashCode()
Computes a hash code from attributes:
name, metadata, v3Metadata, state, createdBy, dropletInfo, packageInfo, error. |
String |
toString()
Prints the immutable value
CloudBuild with attribute values. |
ImmutableCloudBuild |
withCreatedBy(CloudBuild.CreatedBy value)
Copy the current immutable object by setting a value for the
createdBy attribute. |
ImmutableCloudBuild |
withDropletInfo(CloudBuild.DropletInfo value)
Copy the current immutable object by setting a value for the
dropletInfo attribute. |
ImmutableCloudBuild |
withError(String value)
Copy the current immutable object by setting a value for the
error attribute. |
ImmutableCloudBuild |
withMetadata(CloudMetadata value)
Copy the current immutable object by setting a value for the
metadata attribute. |
ImmutableCloudBuild |
withName(String value)
Copy the current immutable object by setting a value for the
name attribute. |
ImmutableCloudBuild |
withPackageInfo(CloudBuild.PackageInfo value)
Copy the current immutable object by setting a value for the
packageInfo attribute. |
ImmutableCloudBuild |
withState(CloudBuild.State value)
Copy the current immutable object by setting a value for the
state attribute. |
ImmutableCloudBuild |
withV3Metadata(org.cloudfoundry.client.v3.Metadata value)
Copy the current immutable object by setting a value for the
v3Metadata attribute. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitderivepublic String getName()
getName in interface CloudEntityname attributepublic CloudMetadata getMetadata()
getMetadata in interface CloudEntitymetadata attributepublic org.cloudfoundry.client.v3.Metadata getV3Metadata()
getV3Metadata in interface CloudEntityv3Metadata attributepublic CloudBuild.State getState()
getState in interface CloudBuildstate attributepublic CloudBuild.CreatedBy getCreatedBy()
getCreatedBy in interface CloudBuildcreatedBy attributepublic CloudBuild.DropletInfo getDropletInfo()
getDropletInfo in interface CloudBuilddropletInfo attributepublic CloudBuild.PackageInfo getPackageInfo()
getPackageInfo in interface CloudBuildpackageInfo attributepublic String getError()
getError in interface CloudBuilderror attributepublic final ImmutableCloudBuild 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 final ImmutableCloudBuild withMetadata(CloudMetadata value)
metadata attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for metadata (can be null)this objectpublic final ImmutableCloudBuild withV3Metadata(org.cloudfoundry.client.v3.Metadata value)
v3Metadata attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for v3Metadata (can be null)this objectpublic final ImmutableCloudBuild withState(CloudBuild.State value)
state attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for state (can be null)this objectpublic final ImmutableCloudBuild withCreatedBy(CloudBuild.CreatedBy value)
createdBy attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for createdBy (can be null)this objectpublic final ImmutableCloudBuild withDropletInfo(CloudBuild.DropletInfo value)
dropletInfo attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for dropletInfo (can be null)this objectpublic final ImmutableCloudBuild withPackageInfo(CloudBuild.PackageInfo value)
packageInfo attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for packageInfo (can be null)this objectpublic final ImmutableCloudBuild withError(String value)
error attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for error (can be null)this objectpublic boolean equals(Object another)
ImmutableCloudBuild that have equal attribute values.public int hashCode()
name, metadata, v3Metadata, state, createdBy, dropletInfo, packageInfo, error.public String toString()
CloudBuild with attribute values.public static ImmutableCloudBuild copyOf(CloudBuild instance)
CloudBuild 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.Builder builder()
ImmutableCloudBuild.
ImmutableCloudBuild.builder()
.name(String | null) // nullable name
.metadata(org.cloudfoundry.client.lib.domain.CloudMetadata | null) // nullable metadata
.v3Metadata(org.cloudfoundry.client.v3.Metadata | null) // nullable v3Metadata
.state(org.cloudfoundry.client.lib.domain.CloudBuild.State | null) // nullable state
.createdBy(org.cloudfoundry.client.lib.domain.CloudBuild.CreatedBy | null) // nullable createdBy
.dropletInfo(org.cloudfoundry.client.lib.domain.CloudBuild.DropletInfo | null) // nullable dropletInfo
.packageInfo(org.cloudfoundry.client.lib.domain.CloudBuild.PackageInfo | null) // nullable packageInfo
.error(String | null) // nullable error
.build();
Copyright © 2020 SAP SE. All rights reserved.