Class ImmutableRawCloudAsyncJob
- java.lang.Object
-
- com.sap.cloudfoundry.client.facade.adapters.RawCloudEntity<CloudAsyncJob>
-
- com.sap.cloudfoundry.client.facade.adapters.RawCloudAsyncJob
-
- com.sap.cloudfoundry.client.facade.adapters.ImmutableRawCloudAsyncJob
-
- All Implemented Interfaces:
Derivable<CloudAsyncJob>
@Generated("org.immutables.processor.ProxyProcessor") public final class ImmutableRawCloudAsyncJob extends RawCloudAsyncJob
Immutable implementation ofRawCloudAsyncJob.Use the builder to create immutable instances:
ImmutableRawCloudAsyncJob.builder(). Use the static factory method to create immutable instances:ImmutableRawCloudAsyncJob.of().
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableRawCloudAsyncJob.BuilderBuilds instances of typeImmutableRawCloudAsyncJob.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableRawCloudAsyncJob.Builderbuilder()Creates a builder forImmutableRawCloudAsyncJob.static ImmutableRawCloudAsyncJobcopyOf(RawCloudAsyncJob instance)Creates an immutable copy of aRawCloudAsyncJobvalue.booleanequals(Object another)This instance is equal to all instances ofImmutableRawCloudAsyncJobthat have equal attribute values.org.cloudfoundry.client.v3.jobs.JobgetJob()inthashCode()Computes a hash code from attributes:job.static ImmutableRawCloudAsyncJobof(org.cloudfoundry.client.v3.jobs.Job job)Construct a new immutableRawCloudAsyncJobinstance.StringtoString()Prints the immutable valueRawCloudAsyncJobwith attribute values.ImmutableRawCloudAsyncJobwithJob(org.cloudfoundry.client.v3.jobs.Job value)Copy the current immutable object by setting a value for thejobattribute.-
Methods inherited from class com.sap.cloudfoundry.client.facade.adapters.RawCloudAsyncJob
derive
-
Methods inherited from class com.sap.cloudfoundry.client.facade.adapters.RawCloudEntity
derive, deriveFromNullable, parseDate, parseEnum, parseGuid, parseNullableDate, parseNullableGuid, parseResourceMetadata
-
-
-
-
Method Detail
-
getJob
public org.cloudfoundry.client.v3.jobs.Job getJob()
- Specified by:
getJobin classRawCloudAsyncJob- Returns:
- The value of the
jobattribute
-
withJob
public final ImmutableRawCloudAsyncJob withJob(org.cloudfoundry.client.v3.jobs.Job value)
Copy the current immutable object by setting a value for thejobattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for job- Returns:
- A modified copy of the
thisobject
-
equals
public boolean equals(Object another)
This instance is equal to all instances ofImmutableRawCloudAsyncJobthat have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:job.
-
toString
public String toString()
Prints the immutable valueRawCloudAsyncJobwith attribute values.
-
of
public static ImmutableRawCloudAsyncJob of(org.cloudfoundry.client.v3.jobs.Job job)
Construct a new immutableRawCloudAsyncJobinstance.- Parameters:
job- The value for thejobattribute- Returns:
- An immutable RawCloudAsyncJob instance
-
copyOf
public static ImmutableRawCloudAsyncJob copyOf(RawCloudAsyncJob instance)
Creates an immutable copy of aRawCloudAsyncJobvalue. 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 RawCloudAsyncJob instance
-
builder
public static ImmutableRawCloudAsyncJob.Builder builder()
Creates a builder forImmutableRawCloudAsyncJob.ImmutableRawCloudAsyncJob.builder() .job(org.cloudfoundry.client.v3.jobs.Job) // requiredjob.build();- Returns:
- A new ImmutableRawCloudAsyncJob builder
-
-