Class ImmutableRawInstancesInfo
- java.lang.Object
-
- com.sap.cloudfoundry.client.facade.adapters.RawCloudEntity<InstancesInfo>
-
- com.sap.cloudfoundry.client.facade.adapters.RawInstancesInfo
-
- com.sap.cloudfoundry.client.facade.adapters.ImmutableRawInstancesInfo
-
- All Implemented Interfaces:
Derivable<InstancesInfo>
@Generated("org.immutables.processor.ProxyProcessor") public final class ImmutableRawInstancesInfo extends RawInstancesInfo
Immutable implementation ofRawInstancesInfo.Use the builder to create immutable instances:
ImmutableRawInstancesInfo.builder(). Use the static factory method to create immutable instances:ImmutableRawInstancesInfo.of().
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableRawInstancesInfo.BuilderBuilds instances of typeImmutableRawInstancesInfo.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableRawInstancesInfo.Builderbuilder()Creates a builder forImmutableRawInstancesInfo.static ImmutableRawInstancesInfocopyOf(RawInstancesInfo instance)Creates an immutable copy of aRawInstancesInfovalue.booleanequals(Object another)This instance is equal to all instances ofImmutableRawInstancesInfothat have equal attribute values.org.cloudfoundry.client.v3.applications.GetApplicationProcessStatisticsResponsegetProcessStatisticsResponse()inthashCode()Computes a hash code from attributes:processStatisticsResponse.static ImmutableRawInstancesInfoof(org.cloudfoundry.client.v3.applications.GetApplicationProcessStatisticsResponse processStatisticsResponse)Construct a new immutableRawInstancesInfoinstance.StringtoString()Prints the immutable valueRawInstancesInfowith attribute values.ImmutableRawInstancesInfowithProcessStatisticsResponse(org.cloudfoundry.client.v3.applications.GetApplicationProcessStatisticsResponse value)Copy the current immutable object by setting a value for theprocessStatisticsResponseattribute.-
Methods inherited from class com.sap.cloudfoundry.client.facade.adapters.RawInstancesInfo
derive
-
Methods inherited from class com.sap.cloudfoundry.client.facade.adapters.RawCloudEntity
derive, deriveFromNullable, parseDate, parseEnum, parseGuid, parseNullableDate, parseNullableGuid, parseResourceMetadata
-
-
-
-
Method Detail
-
getProcessStatisticsResponse
public org.cloudfoundry.client.v3.applications.GetApplicationProcessStatisticsResponse getProcessStatisticsResponse()
- Specified by:
getProcessStatisticsResponsein classRawInstancesInfo- Returns:
- The value of the
processStatisticsResponseattribute
-
withProcessStatisticsResponse
public final ImmutableRawInstancesInfo withProcessStatisticsResponse(org.cloudfoundry.client.v3.applications.GetApplicationProcessStatisticsResponse value)
Copy the current immutable object by setting a value for theprocessStatisticsResponseattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for processStatisticsResponse- Returns:
- A modified copy of the
thisobject
-
equals
public boolean equals(Object another)
This instance is equal to all instances ofImmutableRawInstancesInfothat have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:processStatisticsResponse.
-
toString
public String toString()
Prints the immutable valueRawInstancesInfowith attribute values.
-
of
public static ImmutableRawInstancesInfo of(org.cloudfoundry.client.v3.applications.GetApplicationProcessStatisticsResponse processStatisticsResponse)
Construct a new immutableRawInstancesInfoinstance.- Parameters:
processStatisticsResponse- The value for theprocessStatisticsResponseattribute- Returns:
- An immutable RawInstancesInfo instance
-
copyOf
public static ImmutableRawInstancesInfo copyOf(RawInstancesInfo instance)
Creates an immutable copy of aRawInstancesInfovalue. 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 RawInstancesInfo instance
-
builder
public static ImmutableRawInstancesInfo.Builder builder()
Creates a builder forImmutableRawInstancesInfo.ImmutableRawInstancesInfo.builder() .processStatisticsResponse(org.cloudfoundry.client.v3.applications.GetApplicationProcessStatisticsResponse) // requiredprocessStatisticsResponse.build();- Returns:
- A new ImmutableRawInstancesInfo builder
-
-