@Generated(value="org.immutables.processor.ProxyProcessor") public final class ApplicationResource extends Application
| Modifier and Type | Class and Description |
|---|---|
static class |
ApplicationResource.Builder
Builds instances of type
ApplicationResource. |
| Modifier and Type | Method and Description |
|---|---|
static ApplicationResource.Builder |
builder()
Creates a builder for
ApplicationResource. |
boolean |
equals(Object another)
This instance is equal to all instances of
ApplicationResource that have equal attribute values. |
String |
getCreatedAt()
When the resource was created
|
String |
getId()
The resource's id
|
Lifecycle |
getLifecycle()
The lifecycle
|
Map<String,Link> |
getLinks()
Links to related resources and actions for the resource
|
Metadata |
getMetadata()
The metadata
|
String |
getName()
The name
|
ApplicationRelationships |
getRelationships()
The relationships
|
ApplicationState |
getState()
The state
|
String |
getUpdatedAt()
When the resource was last updated
|
int |
hashCode()
Computes a hash code from attributes:
createdAt, id, links, updatedAt, lifecycle, metadata, name, relationships, state. |
String |
toString()
Prints the immutable value
ApplicationResource with attribute values. |
public String getCreatedAt()
getCreatedAt in class Resourcepublic String getUpdatedAt()
getUpdatedAt in class Resourcepublic Lifecycle getLifecycle()
getLifecycle in class Applicationpublic Metadata getMetadata()
getMetadata in class Applicationpublic String getName()
getName in class Applicationpublic ApplicationRelationships getRelationships()
getRelationships in class Applicationpublic ApplicationState getState()
getState in class Applicationpublic boolean equals(Object another)
ApplicationResource that have equal attribute values.public int hashCode()
createdAt, id, links, updatedAt, lifecycle, metadata, name, relationships, state.public String toString()
ApplicationResource with attribute values.public static ApplicationResource.Builder builder()
ApplicationResource.
ApplicationResource.builder()
.createdAt(String) // required createdAt
.id(String) // required id
.link|putAllLinks(String => Link) // links mappings
.updatedAt(String | null) // nullable updatedAt
.lifecycle(org.cloudfoundry.client.v3.Lifecycle) // required lifecycle
.metadata(org.cloudfoundry.client.v3.Metadata | null) // nullable metadata
.name(String) // required name
.relationships(org.cloudfoundry.client.v3.applications.ApplicationRelationships | null) // nullable relationships
.state(org.cloudfoundry.client.v3.applications.ApplicationState) // required state
.build();
Copyright © 2020. All rights reserved.