public final class QueueRequestOptions extends RequestOptions
Constructor and Description |
---|
QueueRequestOptions()
Initializes a new instance of the QueueRequestOptions class.
|
QueueRequestOptions(QueueRequestOptions other)
Initializes a new instance of the QueueRequestOptions class as a copy of
another QueueRequestOptions instance.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
applyDefaults(QueueRequestOptions modifiedOptions)
Applies defaults to the options passed in.
|
protected void |
assertPolicyIfRequired()
Assert that if strict mode is on, an encryption policy is specified.
|
QueueEncryptionPolicy |
getEncryptionPolicy()
Gets the encryption policy to use for this request.
|
protected static QueueRequestOptions |
populateAndApplyDefaults(QueueRequestOptions options,
CloudQueueClient client)
Populates the default timeout and retry policy from client if they are not set.
|
void |
setEncryptionPolicy(QueueEncryptionPolicy encryptionPolicy)
Sets the QueueEncryptionPolicy object to use for this request.
|
applyBaseDefaultsInternal, getLocationMode, getMaximumExecutionTimeInMs, getOperationExpiryTimeInMs, getRetryPolicyFactory, getTimeoutIntervalInMs, populateRequestOptions, requireEncryption, setLocationMode, setMaximumExecutionTimeInMs, setRequireEncryption, setRetryPolicyFactory, setTimeoutIntervalInMs
public QueueRequestOptions()
public QueueRequestOptions(QueueRequestOptions other)
other
- The QueueRequestOptions
object to copy the values
from.protected static final QueueRequestOptions populateAndApplyDefaults(QueueRequestOptions options, CloudQueueClient client)
options
- The input options to copy from when applying defaultsclient
- The CloudQueueClient
service client to populate the
default values from.protected static void applyDefaults(QueueRequestOptions modifiedOptions)
modifiedOptions
- The options to apply defaults to.public QueueEncryptionPolicy getEncryptionPolicy()
setEncryptionPolicy(QueueEncryptionPolicy)
.QueueEncryptionPolicy
object that represents the current encryption policy.public void setEncryptionPolicy(QueueEncryptionPolicy encryptionPolicy)
The default QueueEncryptionPolicy is set in the client and is by default null, indicating no encryption. You can
change the QueueEncryptionPolicy on this request by setting this property. You can also change the value on the
ServiceClient.getDefaultRequestOptions()
object so that all subsequent requests made via the service
client will use that QueueEncryptionPolicy.
encryptionPolicy
- the QueueEncryptionPolicy object to use when making service requests.protected void assertPolicyIfRequired()
Copyright © 2019. All rights reserved.