Class ImmutableApplicationLogsResponse
- java.lang.Object
-
- com.sap.cloudfoundry.client.facade.adapters.ImmutableApplicationLogsResponse
-
- All Implemented Interfaces:
ApplicationLogsResponse
@Generated("org.immutables.processor.ProxyProcessor") public final class ImmutableApplicationLogsResponse extends Object implements ApplicationLogsResponse
Immutable implementation ofApplicationLogsResponse.Use the builder to create immutable instances:
ImmutableApplicationLogsResponse.builder().
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableApplicationLogsResponse.BuilderBuilds instances of typeImmutableApplicationLogsResponse.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableApplicationLogsResponse.Builderbuilder()Creates a builder forImmutableApplicationLogsResponse.static ImmutableApplicationLogsResponsecopyOf(ApplicationLogsResponse instance)Creates an immutable copy of aApplicationLogsResponsevalue.booleanequals(Object another)This instance is equal to all instances ofImmutableApplicationLogsResponsethat have equal attribute values.List<ApplicationLogEntity>getLogs()inthashCode()Computes a hash code from attributes:logs.StringtoString()Prints the immutable valueApplicationLogsResponsewith attribute values.ImmutableApplicationLogsResponsewithLogs(ApplicationLogEntity... elements)Copy the current immutable object with elements that replace the content oflogs.ImmutableApplicationLogsResponsewithLogs(Iterable<? extends ApplicationLogEntity> elements)Copy the current immutable object with elements that replace the content oflogs.
-
-
-
Method Detail
-
getLogs
public List<ApplicationLogEntity> getLogs()
- Specified by:
getLogsin interfaceApplicationLogsResponse- Returns:
- The value of the
logsattribute
-
withLogs
public final ImmutableApplicationLogsResponse withLogs(ApplicationLogEntity... elements)
Copy the current immutable object with elements that replace the content oflogs.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withLogs
public final ImmutableApplicationLogsResponse withLogs(Iterable<? extends ApplicationLogEntity> elements)
Copy the current immutable object with elements that replace the content oflogs. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of logs elements to set- Returns:
- A modified copy of
thisobject
-
equals
public boolean equals(Object another)
This instance is equal to all instances ofImmutableApplicationLogsResponsethat have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:logs.
-
toString
public String toString()
Prints the immutable valueApplicationLogsResponsewith attribute values.
-
copyOf
public static ImmutableApplicationLogsResponse copyOf(ApplicationLogsResponse instance)
Creates an immutable copy of aApplicationLogsResponsevalue. 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 ApplicationLogsResponse instance
-
builder
public static ImmutableApplicationLogsResponse.Builder builder()
Creates a builder forImmutableApplicationLogsResponse.ImmutableApplicationLogsResponse.builder() .addLog|addAllLogs(com.sap.cloudfoundry.client.facade.adapters.ApplicationLogEntity) //logselements .build();- Returns:
- A new ImmutableApplicationLogsResponse builder
-
-