@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SqsQueueConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The proposed access control configuration for an Amazon SQS queue. You can propose a configuration for a new Amazon SQS queue or an existing Amazon SQS queue that you own by specifying the Amazon SQS policy. If the configuration is for an existing Amazon SQS queue and you do not specify the Amazon SQS policy, the access preview uses the existing Amazon SQS policy for the queue. If the access preview is for a new resource and you do not specify the policy, the access preview assumes an Amazon SQS queue without a policy. To propose deletion of an existing Amazon SQS queue policy, you can specify an empty string for the Amazon SQS policy. For more information about Amazon SQS policy limits, see Quotas related to policies.
Constructor and Description |
---|
SqsQueueConfiguration() |
Modifier and Type | Method and Description |
---|---|
SqsQueueConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getQueuePolicy()
The proposed resource policy for the Amazon SQS queue.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setQueuePolicy(String queuePolicy)
The proposed resource policy for the Amazon SQS queue.
|
String |
toString()
Returns a string representation of this object.
|
SqsQueueConfiguration |
withQueuePolicy(String queuePolicy)
The proposed resource policy for the Amazon SQS queue.
|
public void setQueuePolicy(String queuePolicy)
The proposed resource policy for the Amazon SQS queue.
queuePolicy
- The proposed resource policy for the Amazon SQS queue.public String getQueuePolicy()
The proposed resource policy for the Amazon SQS queue.
public SqsQueueConfiguration withQueuePolicy(String queuePolicy)
The proposed resource policy for the Amazon SQS queue.
queuePolicy
- The proposed resource policy for the Amazon SQS queue.public String toString()
toString
in class Object
Object.toString()
public SqsQueueConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.