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 java.lang.Object implements BLStagingRepositoryReleaseType
A request to release a set of staging repositories.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBLStagingRepositoryRelease.BuilderBuilds instances of typeBLStagingRepositoryRelease.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BLStagingRepositoryRelease.Builderbuilder()Creates a builder forBLStagingRepositoryRelease.static BLStagingRepositoryReleasecopyOf(BLStagingRepositoryReleaseType instance)Creates an immutable copy of aBLStagingRepositoryReleaseTypevalue.booleanequals(java.lang.Object another)This instance is equal to all instances ofBLStagingRepositoryReleasethat have equal attribute values.inthashCode()Computes a hash code from attributes:stagingRepositories.java.util.List<java.lang.String>stagingRepositories()java.lang.StringtoString()Prints the immutable valueBLStagingRepositoryReleasewith attribute values.BLStagingRepositoryReleasewithStagingRepositories(java.lang.Iterable<java.lang.String> elements)Copy the current immutable object with elements that replace the content ofstagingRepositories.BLStagingRepositoryReleasewithStagingRepositories(java.lang.String... elements)Copy the current immutable object with elements that replace the content ofstagingRepositories.
-
-
-
Method Detail
-
stagingRepositories
public java.util.List<java.lang.String> stagingRepositories()
- Specified by:
stagingRepositoriesin interfaceBLStagingRepositoryBulkRequestType- Specified by:
stagingRepositoriesin interfaceBLStagingRepositoryReleaseType- Returns:
- The value of the
stagingRepositoriesattribute
-
withStagingRepositories
public final BLStagingRepositoryRelease withStagingRepositories(java.lang.String... elements)
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
public final BLStagingRepositoryRelease withStagingRepositories(java.lang.Iterable<java.lang.String> elements)
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
public boolean equals(java.lang.Object another)
This instance is equal to all instances ofBLStagingRepositoryReleasethat have equal attribute values.- Overrides:
equalsin classjava.lang.Object- Returns:
trueifthisis equal toanotherinstance
-
hashCode
public int hashCode()
Computes a hash code from attributes:stagingRepositories.- Overrides:
hashCodein classjava.lang.Object- Returns:
- hashCode value
-
toString
public java.lang.String toString()
Prints the immutable valueBLStagingRepositoryReleasewith attribute values.- Overrides:
toStringin classjava.lang.Object- Returns:
- A string representation of the value
-
copyOf
public static BLStagingRepositoryRelease copyOf(BLStagingRepositoryReleaseType instance)
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
public static BLStagingRepositoryRelease.Builder builder()
Creates a builder forBLStagingRepositoryRelease.BLStagingRepositoryRelease.builder() .addStagingRepositories|addAllStagingRepositories(String) //stagingRepositorieselements .build();- Returns:
- A new BLStagingRepositoryRelease builder
-
-