@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 SQS queue. You can propose a configuration for a new SQS queue or an existing SQS queue that you own by specifying the SQS policy. If the configuration is for an existing SQS queue and you do not specify the SQS policy, the access preview uses the existing 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 SQS queue without a policy. To propose deletion of an existing SQS queue policy, you can specify an empty string for the SQS policy. For more information about 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 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 SQS queue.
|
String |
toString()
Returns a string representation of this object.
|
SqsQueueConfiguration |
withQueuePolicy(String queuePolicy)
The proposed resource policy for the SQS queue.
|
public void setQueuePolicy(String queuePolicy)
The proposed resource policy for the SQS queue.
queuePolicy
- The proposed resource policy for the SQS queue.public String getQueuePolicy()
The proposed resource policy for the SQS queue.
public SqsQueueConfiguration withQueuePolicy(String queuePolicy)
The proposed resource policy for the SQS queue.
queuePolicy
- The proposed resource policy for the 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.