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.
  • Method Details

    • stagingRepositories

      public java.util.List<java.lang.String> stagingRepositories()
      Specified by:
      stagingRepositories in interface BLStagingRepositoryBulkRequestType
      Specified by:
      stagingRepositories in interface BLStagingRepositoryDropType
      Returns:
      The value of the stagingRepositories attribute
    • withStagingRepositories

      public final BLStagingRepositoryDrop withStagingRepositories​(java.lang.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 BLStagingRepositoryDrop withStagingRepositories​(java.lang.Iterable<java.lang.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​(java.lang.Object another)
      This instance is equal to all instances of BLStagingRepositoryDrop that have equal attribute values.
      Overrides:
      equals in class java.lang.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 java.lang.Object
      Returns:
      hashCode value
    • toString

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

      public static BLStagingRepositoryDrop copyOf​(BLStagingRepositoryDropType instance)
      Creates an immutable copy of a BLStagingRepositoryDropType 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 BLStagingRepositoryDrop instance
    • builder

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