Class ImmutableRawApplicationLog
- java.lang.Object
-
- com.sap.cloudfoundry.client.facade.adapters.RawApplicationLog
-
- com.sap.cloudfoundry.client.facade.adapters.ImmutableRawApplicationLog
-
- All Implemented Interfaces:
Derivable<ApplicationLog>
@Generated("org.immutables.processor.ProxyProcessor") public final class ImmutableRawApplicationLog extends RawApplicationLog
Immutable implementation ofRawApplicationLog.Use the builder to create immutable instances:
ImmutableRawApplicationLog.builder(). Use the static factory method to create immutable instances:ImmutableRawApplicationLog.of().
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableRawApplicationLog.BuilderBuilds instances of typeImmutableRawApplicationLog.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableRawApplicationLog.Builderbuilder()Creates a builder forImmutableRawApplicationLog.static ImmutableRawApplicationLogcopyOf(RawApplicationLog instance)Creates an immutable copy of aRawApplicationLogvalue.booleanequals(Object another)This instance is equal to all instances ofImmutableRawApplicationLogthat have equal attribute values.org.cloudfoundry.doppler.EnvelopegetEnvelope()inthashCode()Computes a hash code from attributes:envelope.static ImmutableRawApplicationLogof(org.cloudfoundry.doppler.Envelope envelope)Construct a new immutableRawApplicationLoginstance.StringtoString()Prints the immutable valueRawApplicationLogwith attribute values.ImmutableRawApplicationLogwithEnvelope(org.cloudfoundry.doppler.Envelope value)Copy the current immutable object by setting a value for theenvelopeattribute.-
Methods inherited from class com.sap.cloudfoundry.client.facade.adapters.RawApplicationLog
derive
-
-
-
-
Method Detail
-
getEnvelope
public org.cloudfoundry.doppler.Envelope getEnvelope()
- Specified by:
getEnvelopein classRawApplicationLog- Returns:
- The value of the
envelopeattribute
-
withEnvelope
public final ImmutableRawApplicationLog withEnvelope(org.cloudfoundry.doppler.Envelope value)
Copy the current immutable object by setting a value for theenvelopeattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for envelope- Returns:
- A modified copy of the
thisobject
-
equals
public boolean equals(Object another)
This instance is equal to all instances ofImmutableRawApplicationLogthat have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:envelope.
-
toString
public String toString()
Prints the immutable valueRawApplicationLogwith attribute values.
-
of
public static ImmutableRawApplicationLog of(org.cloudfoundry.doppler.Envelope envelope)
Construct a new immutableRawApplicationLoginstance.- Parameters:
envelope- The value for theenvelopeattribute- Returns:
- An immutable RawApplicationLog instance
-
copyOf
public static ImmutableRawApplicationLog copyOf(RawApplicationLog instance)
Creates an immutable copy of aRawApplicationLogvalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable RawApplicationLog instance
-
builder
public static ImmutableRawApplicationLog.Builder builder()
Creates a builder forImmutableRawApplicationLog.ImmutableRawApplicationLog.builder() .envelope(org.cloudfoundry.doppler.Envelope) // requiredenvelope.build();- Returns:
- A new ImmutableRawApplicationLog builder
-
-