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