@Generated(value="org.immutables.processor.ProxyProcessor") public final class BuildResource extends Build
| Modifier and Type | Class and Description |
|---|---|
static class |
BuildResource.Builder
Builds instances of type
BuildResource. |
| Modifier and Type | Method and Description |
|---|---|
static BuildResource.Builder |
builder()
Creates a builder for
BuildResource. |
boolean |
equals(Object another)
This instance is equal to all instances of
BuildResource that have equal attribute values. |
String |
getCreatedAt()
When the resource was created
|
CreatedBy |
getCreatedBy()
The user that created the build
|
Droplet |
getDroplet()
A resulting droplet from the staging process
|
String |
getError()
Describes errors during the build process
|
String |
getId()
The resource's id
|
Relationship |
getInputPackage()
The package that is the input to the staging process
|
Lifecycle |
getLifecycle()
The lifecycle that was configured or discovered from the application
|
Map<String,Link> |
getLinks()
Links to related resources and actions for the resource
|
Metadata |
getMetadata()
The metadata
|
BuildRelationships |
getRelationships()
The relationships
|
BuildState |
getState()
State of the build
|
String |
getUpdatedAt()
When the resource was last updated
|
int |
hashCode()
Computes a hash code from attributes:
createdAt, id, links, updatedAt, createdBy, droplet, error, inputPackage, lifecycle, metadata, relationships, state. |
String |
toString()
Prints the immutable value
BuildResource with attribute values. |
public String getCreatedAt()
getCreatedAt in class Resourcepublic String getUpdatedAt()
getUpdatedAt in class Resourcepublic CreatedBy getCreatedBy()
getCreatedBy in class Buildpublic Droplet getDroplet()
getDroplet in class Buildpublic String getError()
public Relationship getInputPackage()
getInputPackage in class Buildpublic Lifecycle getLifecycle()
getLifecycle in class Buildpublic Metadata getMetadata()
getMetadata in class Buildpublic BuildRelationships getRelationships()
getRelationships in class Buildpublic BuildState getState()
public boolean equals(Object another)
BuildResource that have equal attribute values.public int hashCode()
createdAt, id, links, updatedAt, createdBy, droplet, error, inputPackage, lifecycle, metadata, relationships, state.public String toString()
BuildResource with attribute values.public static BuildResource.Builder builder()
BuildResource.
BuildResource.builder()
.createdAt(String) // required createdAt
.id(String) // required id
.link|putAllLinks(String => Link) // links mappings
.updatedAt(String | null) // nullable updatedAt
.createdBy(org.cloudfoundry.client.v3.builds.CreatedBy) // required createdBy
.droplet(org.cloudfoundry.client.v3.builds.Droplet | null) // nullable droplet
.error(String | null) // nullable error
.inputPackage(org.cloudfoundry.client.v3.Relationship) // required inputPackage
.lifecycle(org.cloudfoundry.client.v3.Lifecycle) // required lifecycle
.metadata(org.cloudfoundry.client.v3.Metadata | null) // nullable metadata
.relationships(org.cloudfoundry.client.v3.builds.BuildRelationships | null) // nullable relationships
.state(org.cloudfoundry.client.v3.builds.BuildState) // required state
.build();
Copyright © 2020. All rights reserved.