@Generated(value="org.immutables.processor.ProxyProcessor") public final class EventResource extends AbstractEventResource
| Modifier and Type | Class and Description |
|---|---|
static class |
EventResource.Builder
Builds instances of type
EventResource. |
| Modifier and Type | Method and Description |
|---|---|
static EventResource.Builder |
builder()
Creates a builder for
EventResource. |
boolean |
equals(Object another)
This instance is equal to all instances of
EventResource that have equal attribute values. |
EventEntity |
getEntity()
The resource's entity
|
Metadata |
getMetadata()
The resource's metadata
|
int |
hashCode()
Computes a hash code from attributes:
entity, metadata. |
String |
toString()
Prints the immutable value
EventResource with attribute values. |
public EventEntity getEntity()
getEntity in class Resource<EventEntity>public Metadata getMetadata()
getMetadata in class Resource<EventEntity>public boolean equals(Object another)
EventResource that have equal attribute values.public int hashCode()
entity, metadata.public String toString()
EventResource with attribute values.public static EventResource.Builder builder()
EventResource.
EventResource.builder()
.entity(org.cloudfoundry.client.v2.events.EventEntity | null) // nullable entity
.metadata(org.cloudfoundry.client.v2.Metadata | null) // nullable metadata
.build();
Copyright © 2020. All rights reserved.