Class ImmutableRawCloudDomain
- java.lang.Object
-
- com.sap.cloudfoundry.client.facade.adapters.RawCloudEntity<CloudDomain>
-
- com.sap.cloudfoundry.client.facade.adapters.RawCloudDomain
-
- com.sap.cloudfoundry.client.facade.adapters.ImmutableRawCloudDomain
-
- All Implemented Interfaces:
Derivable<CloudDomain>
@Generated("org.immutables.processor.ProxyProcessor") public final class ImmutableRawCloudDomain extends RawCloudDomain
Immutable implementation ofRawCloudDomain.Use the builder to create immutable instances:
ImmutableRawCloudDomain.builder(). Use the static factory method to create immutable instances:ImmutableRawCloudDomain.of().
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableRawCloudDomain.BuilderBuilds instances of typeImmutableRawCloudDomain.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableRawCloudDomain.Builderbuilder()Creates a builder forImmutableRawCloudDomain.static ImmutableRawCloudDomaincopyOf(RawCloudDomain instance)Creates an immutable copy of aRawCloudDomainvalue.booleanequals(Object another)This instance is equal to all instances ofImmutableRawCloudDomainthat have equal attribute values.org.cloudfoundry.client.v3.domains.DomaingetResource()inthashCode()Computes a hash code from attributes:resource.static ImmutableRawCloudDomainof(org.cloudfoundry.client.v3.domains.Domain resource)Construct a new immutableRawCloudDomaininstance.StringtoString()Prints the immutable valueRawCloudDomainwith attribute values.ImmutableRawCloudDomainwithResource(org.cloudfoundry.client.v3.domains.Domain value)Copy the current immutable object by setting a value for theresourceattribute.-
Methods inherited from class com.sap.cloudfoundry.client.facade.adapters.RawCloudDomain
derive
-
Methods inherited from class com.sap.cloudfoundry.client.facade.adapters.RawCloudEntity
derive, deriveFromNullable, parseDate, parseEnum, parseGuid, parseNullableDate, parseNullableGuid, parseResourceMetadata
-
-
-
-
Method Detail
-
getResource
public org.cloudfoundry.client.v3.domains.Domain getResource()
- Specified by:
getResourcein classRawCloudDomain- Returns:
- The value of the
resourceattribute
-
withResource
public final ImmutableRawCloudDomain withResource(org.cloudfoundry.client.v3.domains.Domain value)
Copy the current immutable object by setting a value for theresourceattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for resource- Returns:
- A modified copy of the
thisobject
-
equals
public boolean equals(Object another)
This instance is equal to all instances ofImmutableRawCloudDomainthat have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:resource.
-
toString
public String toString()
Prints the immutable valueRawCloudDomainwith attribute values.
-
of
public static ImmutableRawCloudDomain of(org.cloudfoundry.client.v3.domains.Domain resource)
Construct a new immutableRawCloudDomaininstance.- Parameters:
resource- The value for theresourceattribute- Returns:
- An immutable RawCloudDomain instance
-
copyOf
public static ImmutableRawCloudDomain copyOf(RawCloudDomain instance)
Creates an immutable copy of aRawCloudDomainvalue. 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 RawCloudDomain instance
-
builder
public static ImmutableRawCloudDomain.Builder builder()
Creates a builder forImmutableRawCloudDomain.ImmutableRawCloudDomain.builder() .resource(org.cloudfoundry.client.v3.domains.Domain) // requiredresource.build();- Returns:
- A new ImmutableRawCloudDomain builder
-
-