@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SessionsStatisticsResources extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the fleet IDs or queue IDs to return statistics. You can specify only fleet IDs or queue IDS, not both.
Constructor and Description |
---|
SessionsStatisticsResources() |
Modifier and Type | Method and Description |
---|---|
SessionsStatisticsResources |
clone() |
boolean |
equals(Object obj) |
List<String> |
getFleetIds()
One to 10 fleet IDs that specify the fleets to return statistics for.
|
List<String> |
getQueueIds()
One to 10 queue IDs that specify the queues to return statistics for.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFleetIds(Collection<String> fleetIds)
One to 10 fleet IDs that specify the fleets to return statistics for.
|
void |
setQueueIds(Collection<String> queueIds)
One to 10 queue IDs that specify the queues to return statistics for.
|
String |
toString()
Returns a string representation of this object.
|
SessionsStatisticsResources |
withFleetIds(Collection<String> fleetIds)
One to 10 fleet IDs that specify the fleets to return statistics for.
|
SessionsStatisticsResources |
withFleetIds(String... fleetIds)
One to 10 fleet IDs that specify the fleets to return statistics for.
|
SessionsStatisticsResources |
withQueueIds(Collection<String> queueIds)
One to 10 queue IDs that specify the queues to return statistics for.
|
SessionsStatisticsResources |
withQueueIds(String... queueIds)
One to 10 queue IDs that specify the queues to return statistics for.
|
public List<String> getFleetIds()
One to 10 fleet IDs that specify the fleets to return statistics for. If you specify the fleetIds
field, you can't specify the queueIds
field.
fleetIds
field, you can't specify the queueIds
field.public void setFleetIds(Collection<String> fleetIds)
One to 10 fleet IDs that specify the fleets to return statistics for. If you specify the fleetIds
field, you can't specify the queueIds
field.
fleetIds
- One to 10 fleet IDs that specify the fleets to return statistics for. If you specify the
fleetIds
field, you can't specify the queueIds
field.public SessionsStatisticsResources withFleetIds(String... fleetIds)
One to 10 fleet IDs that specify the fleets to return statistics for. If you specify the fleetIds
field, you can't specify the queueIds
field.
NOTE: This method appends the values to the existing list (if any). Use
setFleetIds(java.util.Collection)
or withFleetIds(java.util.Collection)
if you want to override
the existing values.
fleetIds
- One to 10 fleet IDs that specify the fleets to return statistics for. If you specify the
fleetIds
field, you can't specify the queueIds
field.public SessionsStatisticsResources withFleetIds(Collection<String> fleetIds)
One to 10 fleet IDs that specify the fleets to return statistics for. If you specify the fleetIds
field, you can't specify the queueIds
field.
fleetIds
- One to 10 fleet IDs that specify the fleets to return statistics for. If you specify the
fleetIds
field, you can't specify the queueIds
field.public List<String> getQueueIds()
One to 10 queue IDs that specify the queues to return statistics for. If you specify the queueIds
field, you can't specify the fleetIds
field.
queueIds
field, you can't specify the fleetIds
field.public void setQueueIds(Collection<String> queueIds)
One to 10 queue IDs that specify the queues to return statistics for. If you specify the queueIds
field, you can't specify the fleetIds
field.
queueIds
- One to 10 queue IDs that specify the queues to return statistics for. If you specify the
queueIds
field, you can't specify the fleetIds
field.public SessionsStatisticsResources withQueueIds(String... queueIds)
One to 10 queue IDs that specify the queues to return statistics for. If you specify the queueIds
field, you can't specify the fleetIds
field.
NOTE: This method appends the values to the existing list (if any). Use
setQueueIds(java.util.Collection)
or withQueueIds(java.util.Collection)
if you want to override
the existing values.
queueIds
- One to 10 queue IDs that specify the queues to return statistics for. If you specify the
queueIds
field, you can't specify the fleetIds
field.public SessionsStatisticsResources withQueueIds(Collection<String> queueIds)
One to 10 queue IDs that specify the queues to return statistics for. If you specify the queueIds
field, you can't specify the fleetIds
field.
queueIds
- One to 10 queue IDs that specify the queues to return statistics for. If you specify the
queueIds
field, you can't specify the fleetIds
field.public String toString()
toString
in class Object
Object.toString()
public SessionsStatisticsResources clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.