Package io.resys.hdes.client.api
Class ImmutableImportStoreEntity
java.lang.Object
io.resys.hdes.client.api.ImmutableImportStoreEntity
- All Implemented Interfaces:
HdesStore.ImportStoreEntity
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableImportStoreEntity
extends Object
implements HdesStore.ImportStoreEntity
Immutable implementation of
HdesStore.ImportStoreEntity.
Use the builder to create immutable instances:
ImmutableImportStoreEntity.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableImportStoreEntity. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableImportStoreEntity.static ImmutableImportStoreEntitycopyOf(HdesStore.ImportStoreEntity instance) Creates an immutable copy of aHdesStore.ImportStoreEntityvalue.booleanThis instance is equal to all instances ofImmutableImportStoreEntitythat have equal attribute values.com.google.common.collect.ImmutableList<HdesStore.CreateStoreEntity>com.google.common.collect.ImmutableList<HdesStore.UpdateStoreEntityWithBodyType>inthashCode()Computes a hash code from attributes:create,update.toString()Prints the immutable valueImportStoreEntitywith attribute values.withCreate(HdesStore.CreateStoreEntity... elements) Copy the current immutable object with elements that replace the content ofcreate.withCreate(Iterable<? extends HdesStore.CreateStoreEntity> elements) Copy the current immutable object with elements that replace the content ofcreate.withUpdate(HdesStore.UpdateStoreEntityWithBodyType... elements) Copy the current immutable object with elements that replace the content ofupdate.withUpdate(Iterable<? extends HdesStore.UpdateStoreEntityWithBodyType> elements) Copy the current immutable object with elements that replace the content ofupdate.
-
Method Details
-
getCreate
- Specified by:
getCreatein interfaceHdesStore.ImportStoreEntity- Returns:
- The value of the
createattribute
-
getUpdate
- Specified by:
getUpdatein interfaceHdesStore.ImportStoreEntity- Returns:
- The value of the
updateattribute
-
withCreate
Copy the current immutable object with elements that replace the content ofcreate.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withCreate
public final ImmutableImportStoreEntity withCreate(Iterable<? extends HdesStore.CreateStoreEntity> elements) Copy the current immutable object with elements that replace the content ofcreate. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of create elements to set- Returns:
- A modified copy of
thisobject
-
withUpdate
public final ImmutableImportStoreEntity withUpdate(HdesStore.UpdateStoreEntityWithBodyType... elements) Copy the current immutable object with elements that replace the content ofupdate.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withUpdate
public final ImmutableImportStoreEntity withUpdate(Iterable<? extends HdesStore.UpdateStoreEntityWithBodyType> elements) Copy the current immutable object with elements that replace the content ofupdate. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of update elements to set- Returns:
- A modified copy of
thisobject
-
equals
This instance is equal to all instances ofImmutableImportStoreEntitythat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:create,update. -
toString
Prints the immutable valueImportStoreEntitywith attribute values. -
copyOf
Creates an immutable copy of aHdesStore.ImportStoreEntityvalue. 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 ImportStoreEntity instance
-
builder
Creates a builder forImmutableImportStoreEntity.ImmutableImportStoreEntity.builder() .addCreate|addAllCreate(io.resys.hdes.client.api.HdesStore.CreateStoreEntity) //createelements .addUpdate|addAllUpdate(io.resys.hdes.client.api.HdesStore.UpdateStoreEntityWithBodyType) //updateelements .build();- Returns:
- A new ImmutableImportStoreEntity builder
-