Package com.io7m.brooklime.api
Class BLStagingRepositoryRelease
java.lang.Object
com.io7m.brooklime.api.BLStagingRepositoryRelease
- All Implemented Interfaces:
BLStagingRepositoryBulkRequestType,BLStagingRepositoryReleaseType
public final class BLStagingRepositoryRelease
extends Object
implements BLStagingRepositoryReleaseType
A request to release a set of staging repositories.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeBLStagingRepositoryRelease. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forBLStagingRepositoryRelease.static BLStagingRepositoryReleasecopyOf(BLStagingRepositoryReleaseType instance) Creates an immutable copy of aBLStagingRepositoryReleaseTypevalue.booleanThis instance is equal to all instances ofBLStagingRepositoryReleasethat have equal attribute values.inthashCode()Computes a hash code from attributes:stagingRepositories.toString()Prints the immutable valueBLStagingRepositoryReleasewith attribute values.withStagingRepositories(Iterable<String> elements) Copy the current immutable object with elements that replace the content ofstagingRepositories.withStagingRepositories(String... elements) Copy the current immutable object with elements that replace the content ofstagingRepositories.
-
Method Details
-
stagingRepositories
- Specified by:
stagingRepositoriesin interfaceBLStagingRepositoryBulkRequestType- Specified by:
stagingRepositoriesin interfaceBLStagingRepositoryReleaseType- Returns:
- The value of the
stagingRepositoriesattribute
-
withStagingRepositories
Copy the current immutable object with elements that replace the content ofstagingRepositories.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withStagingRepositories
Copy the current immutable object with elements that replace the content ofstagingRepositories. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of stagingRepositories elements to set- Returns:
- A modified copy of
thisobject
-
equals
This instance is equal to all instances ofBLStagingRepositoryReleasethat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:stagingRepositories. -
toString
Prints the immutable valueBLStagingRepositoryReleasewith attribute values. -
copyOf
Creates an immutable copy of aBLStagingRepositoryReleaseTypevalue. 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 BLStagingRepositoryRelease instance
-
builder
Creates a builder forBLStagingRepositoryRelease.BLStagingRepositoryRelease.builder() .addStagingRepositories|addAllStagingRepositories(String) //stagingRepositorieselements .build();- Returns:
- A new BLStagingRepositoryRelease builder
-