@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChangeMessageVisibilityBatchRequestEntry extends Object implements Serializable, Cloneable, StructuredPojo
Encloses a receipt handle and an entry ID for each message in ChangeMessageVisibilityBatch.
Constructor and Description |
---|
ChangeMessageVisibilityBatchRequestEntry()
Default constructor for ChangeMessageVisibilityBatchRequestEntry object.
|
ChangeMessageVisibilityBatchRequestEntry(String id,
String receiptHandle)
Constructs a new ChangeMessageVisibilityBatchRequestEntry object.
|
Modifier and Type | Method and Description |
---|---|
ChangeMessageVisibilityBatchRequestEntry |
clone() |
boolean |
equals(Object obj) |
String |
getId()
An identifier for this particular receipt handle used to communicate the result.
|
String |
getReceiptHandle()
A receipt handle.
|
Integer |
getVisibilityTimeout()
The new value (in seconds) for the message's visibility timeout.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
An identifier for this particular receipt handle used to communicate the result.
|
void |
setReceiptHandle(String receiptHandle)
A receipt handle.
|
void |
setVisibilityTimeout(Integer visibilityTimeout)
The new value (in seconds) for the message's visibility timeout.
|
String |
toString()
Returns a string representation of this object.
|
ChangeMessageVisibilityBatchRequestEntry |
withId(String id)
An identifier for this particular receipt handle used to communicate the result.
|
ChangeMessageVisibilityBatchRequestEntry |
withReceiptHandle(String receiptHandle)
A receipt handle.
|
ChangeMessageVisibilityBatchRequestEntry |
withVisibilityTimeout(Integer visibilityTimeout)
The new value (in seconds) for the message's visibility timeout.
|
public ChangeMessageVisibilityBatchRequestEntry()
public ChangeMessageVisibilityBatchRequestEntry(String id, String receiptHandle)
id
- An identifier for this particular receipt handle used to communicate the result.
The Id
s of a batch request need to be unique within a request.
This identifier can have up to 80 characters. The following characters are accepted: alphanumeric characters, hyphens(-), and underscores (_).
receiptHandle
- A receipt handle.public void setId(String id)
An identifier for this particular receipt handle used to communicate the result.
The Id
s of a batch request need to be unique within a request.
This identifier can have up to 80 characters. The following characters are accepted: alphanumeric characters, hyphens(-), and underscores (_).
id
- An identifier for this particular receipt handle used to communicate the result.
The Id
s of a batch request need to be unique within a request.
This identifier can have up to 80 characters. The following characters are accepted: alphanumeric characters, hyphens(-), and underscores (_).
public String getId()
An identifier for this particular receipt handle used to communicate the result.
The Id
s of a batch request need to be unique within a request.
This identifier can have up to 80 characters. The following characters are accepted: alphanumeric characters, hyphens(-), and underscores (_).
The Id
s of a batch request need to be unique within a request.
This identifier can have up to 80 characters. The following characters are accepted: alphanumeric characters, hyphens(-), and underscores (_).
public ChangeMessageVisibilityBatchRequestEntry withId(String id)
An identifier for this particular receipt handle used to communicate the result.
The Id
s of a batch request need to be unique within a request.
This identifier can have up to 80 characters. The following characters are accepted: alphanumeric characters, hyphens(-), and underscores (_).
id
- An identifier for this particular receipt handle used to communicate the result.
The Id
s of a batch request need to be unique within a request.
This identifier can have up to 80 characters. The following characters are accepted: alphanumeric characters, hyphens(-), and underscores (_).
public void setReceiptHandle(String receiptHandle)
A receipt handle.
receiptHandle
- A receipt handle.public String getReceiptHandle()
A receipt handle.
public ChangeMessageVisibilityBatchRequestEntry withReceiptHandle(String receiptHandle)
A receipt handle.
receiptHandle
- A receipt handle.public void setVisibilityTimeout(Integer visibilityTimeout)
The new value (in seconds) for the message's visibility timeout.
visibilityTimeout
- The new value (in seconds) for the message's visibility timeout.public Integer getVisibilityTimeout()
The new value (in seconds) for the message's visibility timeout.
public ChangeMessageVisibilityBatchRequestEntry withVisibilityTimeout(Integer visibilityTimeout)
The new value (in seconds) for the message's visibility timeout.
visibilityTimeout
- The new value (in seconds) for the message's visibility timeout.public String toString()
toString
in class Object
Object.toString()
public ChangeMessageVisibilityBatchRequestEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.