Package com.github.twitch4j.helix.domain
Class ShardsInput
java.lang.Object
com.github.twitch4j.helix.domain.ShardsInput
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionShardsInput
(@NotNull String conduitId, @NotNull Collection<ConduitShard> shards) Creates a newShardsInput
instance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
@NotNull String
Conduit ID.@NotNull Collection<ConduitShard>
The shards to update.int
hashCode()
toString()
withConduitId
(@NotNull String conduitId) Conduit ID.withShards
(@NotNull Collection<ConduitShard> shards) The shards to update.
-
Constructor Details
-
ShardsInput
public ShardsInput() -
ShardsInput
public ShardsInput(@NotNull @NotNull String conduitId, @NotNull @NotNull Collection<ConduitShard> shards) Creates a newShardsInput
instance.- Parameters:
conduitId
- Conduit ID.shards
- The shards to update.
-
-
Method Details
-
builder
-
toBuilder
-
withConduitId
Conduit ID.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withShards
The shards to update.- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
getConduitId
Conduit ID. -
getShards
The shards to update. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-