@Generated(value="org.immutables.processor.ProxyProcessor") public final class ImmutableApplicationLog extends ApplicationLog
ApplicationLog.
Use the builder to create immutable instances:
ImmutableApplicationLog.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableApplicationLog.Builder
Builds instances of type
ImmutableApplicationLog. |
ApplicationLog.MessageType| Modifier and Type | Method and Description |
|---|---|
static ImmutableApplicationLog.Builder |
builder()
Creates a builder for
ImmutableApplicationLog. |
static ImmutableApplicationLog |
copyOf(ApplicationLog instance)
Creates an immutable copy of a
ApplicationLog value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableApplicationLog that have equal attribute values. |
String |
getApplicationGuid() |
String |
getMessage() |
ApplicationLog.MessageType |
getMessageType() |
String |
getSourceId() |
String |
getSourceName() |
Date |
getTimestamp() |
int |
hashCode()
Computes a hash code from attributes:
applicationGuid, message, timestamp, messageType, sourceId, sourceName. |
ImmutableApplicationLog |
withApplicationGuid(String value)
Copy the current immutable object by setting a value for the
applicationGuid attribute. |
ImmutableApplicationLog |
withMessage(String value)
Copy the current immutable object by setting a value for the
message attribute. |
ImmutableApplicationLog |
withMessageType(ApplicationLog.MessageType value)
Copy the current immutable object by setting a value for the
messageType attribute. |
ImmutableApplicationLog |
withSourceId(String value)
Copy the current immutable object by setting a value for the
sourceId attribute. |
ImmutableApplicationLog |
withSourceName(String value)
Copy the current immutable object by setting a value for the
sourceName attribute. |
ImmutableApplicationLog |
withTimestamp(Date value)
Copy the current immutable object by setting a value for the
timestamp attribute. |
compareTo, toStringpublic String getApplicationGuid()
getApplicationGuid in class ApplicationLogapplicationGuid attributepublic String getMessage()
getMessage in class ApplicationLogmessage attributepublic Date getTimestamp()
getTimestamp in class ApplicationLogtimestamp attributepublic ApplicationLog.MessageType getMessageType()
getMessageType in class ApplicationLogmessageType attributepublic String getSourceId()
getSourceId in class ApplicationLogsourceId attributepublic String getSourceName()
getSourceName in class ApplicationLogsourceName attributepublic final ImmutableApplicationLog withApplicationGuid(String value)
applicationGuid attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for applicationGuidthis objectpublic final ImmutableApplicationLog withMessage(String value)
message attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for messagethis objectpublic final ImmutableApplicationLog withTimestamp(Date value)
timestamp attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for timestampthis objectpublic final ImmutableApplicationLog withMessageType(ApplicationLog.MessageType value)
messageType attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for messageTypethis objectpublic final ImmutableApplicationLog withSourceId(String value)
sourceId attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for sourceIdthis objectpublic final ImmutableApplicationLog withSourceName(String value)
sourceName attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for sourceNamethis objectpublic boolean equals(Object another)
ImmutableApplicationLog that have equal attribute values.public int hashCode()
applicationGuid, message, timestamp, messageType, sourceId, sourceName.public static ImmutableApplicationLog copyOf(ApplicationLog instance)
ApplicationLog value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableApplicationLog.Builder builder()
ImmutableApplicationLog.
ImmutableApplicationLog.builder()
.applicationGuid(String) // required applicationGuid
.message(String) // required message
.timestamp(Date) // required timestamp
.messageType(org.cloudfoundry.client.lib.domain.ApplicationLog.MessageType) // required messageType
.sourceId(String) // required sourceId
.sourceName(String) // required sourceName
.build();
Copyright © 2020 SAP SE. All rights reserved.