@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsSqsQueueDetails extends Object implements Serializable, Cloneable, StructuredPojo
Data about a queue.
Constructor and Description |
---|
AwsSqsQueueDetails() |
Modifier and Type | Method and Description |
---|---|
AwsSqsQueueDetails |
clone() |
boolean |
equals(Object obj) |
String |
getDeadLetterTargetArn()
The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of
maxReceiveCount is exceeded.
|
Integer |
getKmsDataKeyReusePeriodSeconds()
The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before
calling AWS KMS again.
|
String |
getKmsMasterKeyId()
The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK.
|
String |
getQueueName()
The name of the new queue.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeadLetterTargetArn(String deadLetterTargetArn)
The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of
maxReceiveCount is exceeded.
|
void |
setKmsDataKeyReusePeriodSeconds(Integer kmsDataKeyReusePeriodSeconds)
The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before
calling AWS KMS again.
|
void |
setKmsMasterKeyId(String kmsMasterKeyId)
The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK.
|
void |
setQueueName(String queueName)
The name of the new queue.
|
String |
toString()
Returns a string representation of this object.
|
AwsSqsQueueDetails |
withDeadLetterTargetArn(String deadLetterTargetArn)
The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of
maxReceiveCount is exceeded.
|
AwsSqsQueueDetails |
withKmsDataKeyReusePeriodSeconds(Integer kmsDataKeyReusePeriodSeconds)
The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before
calling AWS KMS again.
|
AwsSqsQueueDetails |
withKmsMasterKeyId(String kmsMasterKeyId)
The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK.
|
AwsSqsQueueDetails |
withQueueName(String queueName)
The name of the new queue.
|
public void setKmsDataKeyReusePeriodSeconds(Integer kmsDataKeyReusePeriodSeconds)
The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling AWS KMS again.
kmsDataKeyReusePeriodSeconds
- The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages
before calling AWS KMS again.public Integer getKmsDataKeyReusePeriodSeconds()
The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling AWS KMS again.
public AwsSqsQueueDetails withKmsDataKeyReusePeriodSeconds(Integer kmsDataKeyReusePeriodSeconds)
The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling AWS KMS again.
kmsDataKeyReusePeriodSeconds
- The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages
before calling AWS KMS again.public void setKmsMasterKeyId(String kmsMasterKeyId)
The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK.
kmsMasterKeyId
- The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK.public String getKmsMasterKeyId()
The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK.
public AwsSqsQueueDetails withKmsMasterKeyId(String kmsMasterKeyId)
The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK.
kmsMasterKeyId
- The ID of an AWS-managed customer master key (CMK) for Amazon SQS or a custom CMK.public void setQueueName(String queueName)
The name of the new queue.
queueName
- The name of the new queue.public String getQueueName()
The name of the new queue.
public AwsSqsQueueDetails withQueueName(String queueName)
The name of the new queue.
queueName
- The name of the new queue.public void setDeadLetterTargetArn(String deadLetterTargetArn)
The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of maxReceiveCount is exceeded.
deadLetterTargetArn
- The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value
of maxReceiveCount is exceeded.public String getDeadLetterTargetArn()
The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of maxReceiveCount is exceeded.
public AwsSqsQueueDetails withDeadLetterTargetArn(String deadLetterTargetArn)
The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of maxReceiveCount is exceeded.
deadLetterTargetArn
- The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value
of maxReceiveCount is exceeded.public String toString()
toString
in class Object
Object.toString()
public AwsSqsQueueDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.