@Generated(value="org.immutables.processor.ProxyProcessor") public final class BuildpackResource extends Buildpack
| Modifier and Type | Class and Description |
|---|---|
static class |
BuildpackResource.Builder
Builds instances of type
BuildpackResource. |
| Modifier and Type | Method and Description |
|---|---|
static BuildpackResource.Builder |
builder()
Creates a builder for
BuildpackResource. |
boolean |
equals(Object another)
This instance is equal to all instances of
BuildpackResource that have equal attribute values. |
String |
getCreatedAt()
When the resource was created
|
Boolean |
getEnabled()
Whether the buildpack is enabled
|
String |
getFilename()
The filename
|
String |
getId()
The resource's id
|
Map<String,Link> |
getLinks()
Links to related resources and actions for the resource
|
Boolean |
getLocked()
Whether the buildpack is locked
|
Metadata |
getMetadata()
The metadata
|
String |
getName()
The name
|
Integer |
getPosition()
The position
|
String |
getStack()
The stack
|
BuildpackState |
getState()
The state
|
String |
getUpdatedAt()
When the resource was last updated
|
int |
hashCode()
Computes a hash code from attributes:
createdAt, id, links, updatedAt, enabled, filename, locked, metadata, name, position, stack, state. |
String |
toString()
Prints the immutable value
BuildpackResource with attribute values. |
public String getCreatedAt()
getCreatedAt in class Resourcepublic String getUpdatedAt()
getUpdatedAt in class Resourcepublic Boolean getEnabled()
getEnabled in class Buildpackpublic String getFilename()
getFilename in class Buildpackpublic Boolean getLocked()
public Metadata getMetadata()
getMetadata in class Buildpackpublic Integer getPosition()
getPosition in class Buildpackpublic BuildpackState getState()
public boolean equals(Object another)
BuildpackResource that have equal attribute values.public int hashCode()
createdAt, id, links, updatedAt, enabled, filename, locked, metadata, name, position, stack, state.public String toString()
BuildpackResource with attribute values.public static BuildpackResource.Builder builder()
BuildpackResource.
BuildpackResource.builder()
.createdAt(String) // required createdAt
.id(String) // required id
.link|putAllLinks(String => Link) // links mappings
.updatedAt(String | null) // nullable updatedAt
.enabled(Boolean) // required enabled
.filename(String | null) // nullable filename
.locked(Boolean) // required locked
.metadata(org.cloudfoundry.client.v3.Metadata | null) // nullable metadata
.name(String) // required name
.position(Integer) // required position
.stack(String | null) // nullable stack
.state(org.cloudfoundry.client.v3.buildpacks.BuildpackState) // required state
.build();
Copyright © 2021. All rights reserved.