Package com.io7m.brooklime.api
Class BLStagingRepositoryClose
java.lang.Object
com.io7m.brooklime.api.BLStagingRepositoryClose
- All Implemented Interfaces:
BLStagingRepositoryBulkRequestType,BLStagingRepositoryCloseType
public final class BLStagingRepositoryClose extends java.lang.Object implements BLStagingRepositoryCloseType
A request to close a set of staging repositories.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBLStagingRepositoryClose.BuilderBuilds instances of typeBLStagingRepositoryClose. -
Method Summary
Modifier and Type Method Description static BLStagingRepositoryClose.Builderbuilder()Creates a builder forBLStagingRepositoryClose.static BLStagingRepositoryClosecopyOf(BLStagingRepositoryCloseType instance)Creates an immutable copy of aBLStagingRepositoryCloseTypevalue.booleanequals(java.lang.Object another)This instance is equal to all instances ofBLStagingRepositoryClosethat 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 valueBLStagingRepositoryClosewith attribute values.BLStagingRepositoryClosewithStagingRepositories(java.lang.Iterable<java.lang.String> elements)Copy the current immutable object with elements that replace the content ofstagingRepositories.BLStagingRepositoryClosewithStagingRepositories(java.lang.String... elements)Copy the current immutable object with elements that replace the content ofstagingRepositories.
-
Method Details
-
stagingRepositories
public java.util.List<java.lang.String> stagingRepositories()- Specified by:
stagingRepositoriesin interfaceBLStagingRepositoryBulkRequestType- Specified by:
stagingRepositoriesin interfaceBLStagingRepositoryCloseType- 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
public final BLStagingRepositoryClose 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 ofBLStagingRepositoryClosethat 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 valueBLStagingRepositoryClosewith attribute values.- Overrides:
toStringin classjava.lang.Object- Returns:
- A string representation of the value
-
copyOf
Creates an immutable copy of aBLStagingRepositoryCloseTypevalue. 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 BLStagingRepositoryClose instance
-
builder
Creates a builder forBLStagingRepositoryClose.BLStagingRepositoryClose.builder() .addStagingRepositories|addAllStagingRepositories(String) //stagingRepositorieselements .build();- Returns:
- A new BLStagingRepositoryClose builder
-