Package com.io7m.brooklime.api
Class BLStagingRepositoryDrop
- java.lang.Object
-
- com.io7m.brooklime.api.BLStagingRepositoryDrop
-
- All Implemented Interfaces:
BLStagingRepositoryBulkRequestType,BLStagingRepositoryDropType
public final class BLStagingRepositoryDrop extends java.lang.Object implements BLStagingRepositoryDropType
A request to drop a set of staging repositories.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBLStagingRepositoryDrop.BuilderBuilds instances of typeBLStagingRepositoryDrop.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BLStagingRepositoryDrop.Builderbuilder()Creates a builder forBLStagingRepositoryDrop.static BLStagingRepositoryDropcopyOf(BLStagingRepositoryDropType instance)Creates an immutable copy of aBLStagingRepositoryDropTypevalue.booleanequals(java.lang.Object another)This instance is equal to all instances ofBLStagingRepositoryDropthat 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 valueBLStagingRepositoryDropwith attribute values.BLStagingRepositoryDropwithStagingRepositories(java.lang.Iterable<java.lang.String> elements)Copy the current immutable object with elements that replace the content ofstagingRepositories.BLStagingRepositoryDropwithStagingRepositories(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 interfaceBLStagingRepositoryDropType- Returns:
- The value of the
stagingRepositoriesattribute
-
withStagingRepositories
public final BLStagingRepositoryDrop 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 BLStagingRepositoryDrop 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 ofBLStagingRepositoryDropthat 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 valueBLStagingRepositoryDropwith attribute values.- Overrides:
toStringin classjava.lang.Object- Returns:
- A string representation of the value
-
copyOf
public static BLStagingRepositoryDrop copyOf(BLStagingRepositoryDropType instance)
Creates an immutable copy of aBLStagingRepositoryDropTypevalue. 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 BLStagingRepositoryDrop instance
-
builder
public static BLStagingRepositoryDrop.Builder builder()
Creates a builder forBLStagingRepositoryDrop.BLStagingRepositoryDrop.builder() .addStagingRepositories|addAllStagingRepositories(String) //stagingRepositorieselements .build();- Returns:
- A new BLStagingRepositoryDrop builder
-
-