Class ImmutableRawCloudPrivateDomain
- java.lang.Object
-
- com.sap.cloudfoundry.client.facade.adapters.RawCloudEntity<CloudDomain>
-
- com.sap.cloudfoundry.client.facade.adapters.RawCloudPrivateDomain
-
- com.sap.cloudfoundry.client.facade.adapters.ImmutableRawCloudPrivateDomain
-
- All Implemented Interfaces:
Derivable<CloudDomain>
@Generated("org.immutables.processor.ProxyProcessor") public final class ImmutableRawCloudPrivateDomain extends RawCloudPrivateDomain
Immutable implementation ofRawCloudPrivateDomain.Use the builder to create immutable instances:
ImmutableRawCloudPrivateDomain.builder(). Use the static factory method to create immutable instances:ImmutableRawCloudPrivateDomain.of().
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableRawCloudPrivateDomain.BuilderBuilds instances of typeImmutableRawCloudPrivateDomain.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableRawCloudPrivateDomain.Builderbuilder()Creates a builder forImmutableRawCloudPrivateDomain.static ImmutableRawCloudPrivateDomaincopyOf(RawCloudPrivateDomain instance)Creates an immutable copy of aRawCloudPrivateDomainvalue.booleanequals(Object another)This instance is equal to all instances ofImmutableRawCloudPrivateDomainthat have equal attribute values.org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.privatedomains.PrivateDomainEntity>getResource()inthashCode()Computes a hash code from attributes:resource.static ImmutableRawCloudPrivateDomainof(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.privatedomains.PrivateDomainEntity> resource)Construct a new immutableRawCloudPrivateDomaininstance.StringtoString()Prints the immutable valueRawCloudPrivateDomainwith attribute values.ImmutableRawCloudPrivateDomainwithResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.privatedomains.PrivateDomainEntity> value)Copy the current immutable object by setting a value for theresourceattribute.-
Methods inherited from class com.sap.cloudfoundry.client.facade.adapters.RawCloudPrivateDomain
derive
-
Methods inherited from class com.sap.cloudfoundry.client.facade.adapters.RawCloudEntity
derive, deriveFromNullable, parseDate, parseEnum, parseGuid, parseNullableDate, parseNullableGuid, parseResourceMetadata, parseResourceMetadata
-
-
-
-
Method Detail
-
getResource
public org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.privatedomains.PrivateDomainEntity> getResource()
- Specified by:
getResourcein classRawCloudPrivateDomain- Returns:
- The value of the
resourceattribute
-
withResource
public final ImmutableRawCloudPrivateDomain withResource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.privatedomains.PrivateDomainEntity> 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 ofImmutableRawCloudPrivateDomainthat have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:resource.
-
toString
public String toString()
Prints the immutable valueRawCloudPrivateDomainwith attribute values.
-
of
public static ImmutableRawCloudPrivateDomain of(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.privatedomains.PrivateDomainEntity> resource)
Construct a new immutableRawCloudPrivateDomaininstance.- Parameters:
resource- The value for theresourceattribute- Returns:
- An immutable RawCloudPrivateDomain instance
-
copyOf
public static ImmutableRawCloudPrivateDomain copyOf(RawCloudPrivateDomain instance)
Creates an immutable copy of aRawCloudPrivateDomainvalue. 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 RawCloudPrivateDomain instance
-
builder
public static ImmutableRawCloudPrivateDomain.Builder builder()
Creates a builder forImmutableRawCloudPrivateDomain.ImmutableRawCloudPrivateDomain.builder() .resource(org.cloudfoundry.client.v2.Resource<org.cloudfoundry.client.v2.privatedomains.PrivateDomainEntity>) // requiredresource.build();- Returns:
- A new ImmutableRawCloudPrivateDomain builder
-
-