|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.sqs.model.CreateQueueRequest
public class CreateQueueRequest
Container for the parameters to the CreateQueue operation
.
AmazonSQS.createQueue(CreateQueueRequest)
,
Serialized FormConstructor Summary | |
---|---|
CreateQueueRequest()
Default constructor for a new CreateQueueRequest object. |
|
CreateQueueRequest(String queueName)
Constructs a new CreateQueueRequest object. |
Method Summary | |
---|---|
CreateQueueRequest |
addAttributesEntry(String key,
String value)
Sets the value of the Attributes property for this object. |
CreateQueueRequest |
clearAttributesEntries()
Removes all the entries added into Attributes. |
boolean |
equals(Object obj)
|
Map<String,String> |
getAttributes()
Returns the value of the Attributes property for this object. |
String |
getQueueName()
Returns the value of the QueueName property for this object. |
int |
hashCode()
|
void |
setAttributes(Map<String,String> attributes)
Sets the value of the Attributes property for this object. |
void |
setQueueName(String queueName)
Sets the value of the QueueName property for this object. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateQueueRequest |
withAttributes(Map<String,String> attributes)
Sets the value of the Attributes property for this object. |
CreateQueueRequest |
withQueueName(String queueName)
Sets the value of the QueueName property for this object. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateQueueRequest()
public CreateQueueRequest(String queueName)
queueName
- Method Detail |
---|
public String getQueueName()
public void setQueueName(String queueName)
queueName
- The new value for the QueueName property for this object.public CreateQueueRequest withQueueName(String queueName)
Returns a reference to this object so that method calls can be chained together.
queueName
- The new value for the QueueName property for this object.public Map<String,String> getAttributes()
public void setAttributes(Map<String,String> attributes)
attributes
- The new value for the Attributes property for this object.public CreateQueueRequest withAttributes(Map<String,String> attributes)
Returns a reference to this object so that method calls can be chained together.
attributes
- The new value for the Attributes property for this object.public CreateQueueRequest addAttributesEntry(String key, String value)
The method adds a new key-value pair into Attributes parameter, and returns a reference to this object so that method calls can be chained together.
key
- The key of the entry to be added into Attributes.value
- The corresponding value of the entry to be added into Attributes.public CreateQueueRequest clearAttributesEntries()
Returns a reference to this object so that method calls can be chained together.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |