Class ShardsInput

java.lang.Object
com.github.twitch4j.helix.domain.ShardsInput

public class ShardsInput extends Object
  • Constructor Details

    • ShardsInput

      public ShardsInput()
    • ShardsInput

      public ShardsInput(@NotNull @NotNull String conduitId, @NotNull @NotNull Collection<ConduitShard> shards)
  • Method Details

    • builder

      public static ShardsInput.ShardsInputBuilder builder()
    • toBuilder

      public ShardsInput.ShardsInputBuilder toBuilder()
    • withConduitId

      public ShardsInput withConduitId(@NotNull @NotNull String conduitId)
      Conduit ID.
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withShards

      public ShardsInput withShards(@NotNull @NotNull Collection<ConduitShard> shards)
      The shards to update.
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • getConduitId

      @NotNull public @NotNull String getConduitId()
      Conduit ID.
    • getShards

      @NotNull public @NotNull Collection<ConduitShard> getShards()
      The shards to update.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object