Class BLStagingRepositoryClose

java.lang.Object
com.io7m.brooklime.api.BLStagingRepositoryClose
All Implemented Interfaces:
BLStagingRepositoryBulkRequestType, BLStagingRepositoryCloseType

public final class BLStagingRepositoryClose extends Object implements BLStagingRepositoryCloseType
A request to close a set of staging repositories.
  • Method Details

    • stagingRepositories

      public List<String> stagingRepositories()
      Specified by:
      stagingRepositories in interface BLStagingRepositoryBulkRequestType
      Specified by:
      stagingRepositories in interface BLStagingRepositoryCloseType
      Returns:
      The value of the stagingRepositories attribute
    • withStagingRepositories

      public final BLStagingRepositoryClose withStagingRepositories(String... elements)
      Copy the current immutable object with elements that replace the content of stagingRepositories.
      Parameters:
      elements - The elements to set
      Returns:
      A modified copy of this object
    • withStagingRepositories

      public final BLStagingRepositoryClose withStagingRepositories(Iterable<String> elements)
      Copy the current immutable object with elements that replace the content of stagingRepositories. A shallow reference equality check is used to prevent copying of the same value by returning this.
      Parameters:
      elements - An iterable of stagingRepositories elements to set
      Returns:
      A modified copy of this object
    • equals

      public boolean equals(Object another)
      This instance is equal to all instances of BLStagingRepositoryClose that have equal attribute values.
      Overrides:
      equals in class Object
      Returns:
      true if this is equal to another instance
    • hashCode

      public int hashCode()
      Computes a hash code from attributes: stagingRepositories.
      Overrides:
      hashCode in class Object
      Returns:
      hashCode value
    • toString

      public String toString()
      Prints the immutable value BLStagingRepositoryClose with attribute values.
      Overrides:
      toString in class Object
      Returns:
      A string representation of the value
    • copyOf

      public static BLStagingRepositoryClose copyOf(BLStagingRepositoryCloseType instance)
      Creates an immutable copy of a BLStagingRepositoryCloseType value. 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

      public static BLStagingRepositoryClose.Builder builder()
      Creates a builder for BLStagingRepositoryClose.
       BLStagingRepositoryClose.builder()
          .addStagingRepositories|addAllStagingRepositories(String) // stagingRepositories elements
          .build();
       
      Returns:
      A new BLStagingRepositoryClose builder