@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HopDestination extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
HopDestination() |
Modifier and Type | Method and Description |
---|---|
HopDestination |
clone() |
boolean |
equals(Object obj) |
Integer |
getPriority()
Optional.
|
String |
getQueue()
Optional unless the job is submitted on the default queue.
|
Integer |
getWaitMinutes()
Required for setting up a job to use queue hopping.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPriority(Integer priority)
Optional.
|
void |
setQueue(String queue)
Optional unless the job is submitted on the default queue.
|
void |
setWaitMinutes(Integer waitMinutes)
Required for setting up a job to use queue hopping.
|
String |
toString()
Returns a string representation of this object.
|
HopDestination |
withPriority(Integer priority)
Optional.
|
HopDestination |
withQueue(String queue)
Optional unless the job is submitted on the default queue.
|
HopDestination |
withWaitMinutes(Integer waitMinutes)
Required for setting up a job to use queue hopping.
|
public void setPriority(Integer priority)
priority
- Optional. When you set up a job to use queue hopping, you can specify a different relative priority for
the job in the destination queue. If you don't specify, the relative priority will remain the same as in
the previous queue.public Integer getPriority()
public HopDestination withPriority(Integer priority)
priority
- Optional. When you set up a job to use queue hopping, you can specify a different relative priority for
the job in the destination queue. If you don't specify, the relative priority will remain the same as in
the previous queue.public void setQueue(String queue)
queue
- Optional unless the job is submitted on the default queue. When you set up a job to use queue hopping, you
can specify a destination queue. This queue cannot be the original queue to which the job is submitted. If
the original queue isn't the default queue and you don't specify the destination queue, the job will move
to the default queue.public String getQueue()
public HopDestination withQueue(String queue)
queue
- Optional unless the job is submitted on the default queue. When you set up a job to use queue hopping, you
can specify a destination queue. This queue cannot be the original queue to which the job is submitted. If
the original queue isn't the default queue and you don't specify the destination queue, the job will move
to the default queue.public void setWaitMinutes(Integer waitMinutes)
waitMinutes
- Required for setting up a job to use queue hopping. Minimum wait time in minutes until the job can hop to
the destination queue. Valid range is 1 to 4320 minutes, inclusive.public Integer getWaitMinutes()
public HopDestination withWaitMinutes(Integer waitMinutes)
waitMinutes
- Required for setting up a job to use queue hopping. Minimum wait time in minutes until the job can hop to
the destination queue. Valid range is 1 to 4320 minutes, inclusive.public String toString()
toString
in class Object
Object.toString()
public HopDestination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.