Package io.digiexpress.eveli.envir.api
Class ImmutableEveliDeployment
java.lang.Object
io.digiexpress.eveli.envir.api.ImmutableEveliDeployment
- All Implemented Interfaces:
EveliEnvirClient.EveliDeployment
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableEveliDeployment
extends Object
implements EveliEnvirClient.EveliDeployment
Immutable implementation of
EveliEnvirClient.EveliDeployment.
Use the builder to create immutable instances:
ImmutableEveliDeployment.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableEveliDeployment. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableEveliDeployment.static ImmutableEveliDeploymentcopyOf(EveliEnvirClient.EveliDeployment instance) Creates an immutable copy of aEveliEnvirClient.EveliDeploymentvalue.booleanThis instance is equal to all instances ofImmutableEveliDeploymentthat have equal attribute values.io.vertx.core.json.JsonObjectgetId()getName()inthashCode()Computes a hash code from attributes:id,name,externalId,createdBy,createdAt,startsAt,description,errors,status,external,sources.toString()Prints the immutable valueEveliDeploymentwith attribute values.final ImmutableEveliDeploymentwithCreatedAt(OffsetDateTime value) Copy the current immutable object by setting a value for thecreatedAtattribute.final ImmutableEveliDeploymentwithCreatedBy(String value) Copy the current immutable object by setting a value for thecreatedByattribute.final ImmutableEveliDeploymentwithDescription(String value) Copy the current immutable object by setting a value for thedescriptionattribute.final ImmutableEveliDeploymentwithErrors(io.vertx.core.json.JsonObject value) Copy the current immutable object by setting a value for theerrorsattribute.final ImmutableEveliDeploymentwithExternal(Boolean value) Copy the current immutable object by setting a value for theexternalattribute.final ImmutableEveliDeploymentwithExternalId(String value) Copy the current immutable object by setting a value for theexternalIdattribute.final ImmutableEveliDeploymentCopy the current immutable object by setting a value for theidattribute.final ImmutableEveliDeploymentCopy the current immutable object by setting a value for thenameattribute.final ImmutableEveliDeploymentCopy the current immutable object by setting a value for thesourcesattribute.final ImmutableEveliDeploymentwithStartsAt(OffsetDateTime value) Copy the current immutable object by setting a value for thestartsAtattribute.final ImmutableEveliDeploymentCopy the current immutable object by setting a value for thestatusattribute.
-
Method Details
-
getId
- Specified by:
getIdin interfaceEveliEnvirClient.EveliDeployment- Returns:
- The value of the
idattribute
-
getName
- Specified by:
getNamein interfaceEveliEnvirClient.EveliDeployment- Returns:
- The value of the
nameattribute
-
getExternalId
- Specified by:
getExternalIdin interfaceEveliEnvirClient.EveliDeployment- Returns:
- The value of the
externalIdattribute
-
getCreatedBy
- Specified by:
getCreatedByin interfaceEveliEnvirClient.EveliDeployment- Returns:
- The value of the
createdByattribute
-
getCreatedAt
- Specified by:
getCreatedAtin interfaceEveliEnvirClient.EveliDeployment- Returns:
- The value of the
createdAtattribute
-
getStartsAt
- Specified by:
getStartsAtin interfaceEveliEnvirClient.EveliDeployment- Returns:
- The value of the
startsAtattribute
-
getDescription
- Specified by:
getDescriptionin interfaceEveliEnvirClient.EveliDeployment- Returns:
- The value of the
descriptionattribute
-
getErrors
@Nullable public io.vertx.core.json.JsonObject getErrors()- Specified by:
getErrorsin interfaceEveliEnvirClient.EveliDeployment- Returns:
- The value of the
errorsattribute
-
getStatus
- Specified by:
getStatusin interfaceEveliEnvirClient.EveliDeployment- Returns:
- The value of the
statusattribute
-
getExternal
- Specified by:
getExternalin interfaceEveliEnvirClient.EveliDeployment- Returns:
- The value of the
externalattribute
-
getSources
- Specified by:
getSourcesin interfaceEveliEnvirClient.EveliDeployment- Returns:
- The value of the
sourcesattribute
-
withId
Copy the current immutable object by setting a value for theidattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for id- Returns:
- A modified copy of the
thisobject
-
withName
Copy the current immutable object by setting a value for thenameattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for name- Returns:
- A modified copy of the
thisobject
-
withExternalId
Copy the current immutable object by setting a value for theexternalIdattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for externalId (can benull)- Returns:
- A modified copy of the
thisobject
-
withCreatedBy
Copy the current immutable object by setting a value for thecreatedByattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for createdBy- Returns:
- A modified copy of the
thisobject
-
withCreatedAt
Copy the current immutable object by setting a value for thecreatedAtattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for createdAt- Returns:
- A modified copy of the
thisobject
-
withStartsAt
Copy the current immutable object by setting a value for thestartsAtattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for startsAt- Returns:
- A modified copy of the
thisobject
-
withDescription
Copy the current immutable object by setting a value for thedescriptionattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for description- Returns:
- A modified copy of the
thisobject
-
withErrors
Copy the current immutable object by setting a value for theerrorsattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for errors (can benull)- Returns:
- A modified copy of the
thisobject
-
withStatus
Copy the current immutable object by setting a value for thestatusattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for status- Returns:
- A modified copy of the
thisobject
-
withExternal
Copy the current immutable object by setting a value for theexternalattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for external (can benull)- Returns:
- A modified copy of the
thisobject
-
withSources
Copy the current immutable object by setting a value for thesourcesattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for sources (can benull)- Returns:
- A modified copy of the
thisobject
-
equals
This instance is equal to all instances ofImmutableEveliDeploymentthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:id,name,externalId,createdBy,createdAt,startsAt,description,errors,status,external,sources. -
toString
Prints the immutable valueEveliDeploymentwith attribute values. -
copyOf
Creates an immutable copy of aEveliEnvirClient.EveliDeploymentvalue. 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 EveliDeployment instance
-
builder
Creates a builder forImmutableEveliDeployment.ImmutableEveliDeployment.builder() .id(String) // requiredid.name(String) // requiredname.externalId(String | null) // nullableexternalId.createdBy(String) // requiredcreatedBy.createdAt(java.time.OffsetDateTime) // requiredcreatedAt.startsAt(java.time.OffsetDateTime) // requiredstartsAt.description(String) // requireddescription.errors(io.vertx.core.json.JsonObject | null) // nullableerrors.status(io.digiexpress.eveli.envir.api.EveliEnvirClient.EveliDeploymentStatus) // requiredstatus.external(Boolean | null) // nullableexternal.sources(io.digiexpress.eveli.envir.api.EveliEnvirClient.EveliSources | null) // nullablesources.build();- Returns:
- A new ImmutableEveliDeployment builder
-