Class ImmutableRawCloudProcess
- java.lang.Object
-
- com.sap.cloudfoundry.client.facade.adapters.RawCloudEntity<CloudProcess>
-
- com.sap.cloudfoundry.client.facade.adapters.RawCloudProcess
-
- com.sap.cloudfoundry.client.facade.adapters.ImmutableRawCloudProcess
-
- All Implemented Interfaces:
Derivable<CloudProcess>
@Generated("org.immutables.processor.ProxyProcessor") public final class ImmutableRawCloudProcess extends RawCloudProcess
Immutable implementation ofRawCloudProcess.Use the builder to create immutable instances:
ImmutableRawCloudProcess.builder(). Use the static factory method to create immutable instances:ImmutableRawCloudProcess.of().
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableRawCloudProcess.BuilderBuilds instances of typeImmutableRawCloudProcess.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableRawCloudProcess.Builderbuilder()Creates a builder forImmutableRawCloudProcess.static ImmutableRawCloudProcesscopyOf(RawCloudProcess instance)Creates an immutable copy of aRawCloudProcessvalue.booleanequals(Object another)This instance is equal to all instances ofImmutableRawCloudProcessthat have equal attribute values.org.cloudfoundry.client.v3.processes.ProcessgetProcess()inthashCode()Computes a hash code from attributes:process.static ImmutableRawCloudProcessof(org.cloudfoundry.client.v3.processes.Process process)Construct a new immutableRawCloudProcessinstance.StringtoString()Prints the immutable valueRawCloudProcesswith attribute values.ImmutableRawCloudProcesswithProcess(org.cloudfoundry.client.v3.processes.Process value)Copy the current immutable object by setting a value for theprocessattribute.-
Methods inherited from class com.sap.cloudfoundry.client.facade.adapters.RawCloudProcess
derive
-
Methods inherited from class com.sap.cloudfoundry.client.facade.adapters.RawCloudEntity
derive, deriveFromNullable, parseDate, parseEnum, parseGuid, parseNullableDate, parseNullableGuid, parseResourceMetadata
-
-
-
-
Method Detail
-
getProcess
public org.cloudfoundry.client.v3.processes.Process getProcess()
- Specified by:
getProcessin classRawCloudProcess- Returns:
- The value of the
processattribute
-
withProcess
public final ImmutableRawCloudProcess withProcess(org.cloudfoundry.client.v3.processes.Process value)
Copy the current immutable object by setting a value for theprocessattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for process- Returns:
- A modified copy of the
thisobject
-
equals
public boolean equals(Object another)
This instance is equal to all instances ofImmutableRawCloudProcessthat have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:process.
-
toString
public String toString()
Prints the immutable valueRawCloudProcesswith attribute values.
-
of
public static ImmutableRawCloudProcess of(org.cloudfoundry.client.v3.processes.Process process)
Construct a new immutableRawCloudProcessinstance.- Parameters:
process- The value for theprocessattribute- Returns:
- An immutable RawCloudProcess instance
-
copyOf
public static ImmutableRawCloudProcess copyOf(RawCloudProcess instance)
Creates an immutable copy of aRawCloudProcessvalue. 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 RawCloudProcess instance
-
builder
public static ImmutableRawCloudProcess.Builder builder()
Creates a builder forImmutableRawCloudProcess.ImmutableRawCloudProcess.builder() .process(org.cloudfoundry.client.v3.processes.Process) // requiredprocess.build();- Returns:
- A new ImmutableRawCloudProcess builder
-
-