QueueRequestOptions Class
- java.
lang. Object - RequestOptions
- com.
microsoft. azure. storage. queue. QueueRequestOptions
- com.
public class QueueRequestOptions extends RequestOptions
Represents a set of options that may be specified on a queue request.
Constructor Summary
Constructor | Description |
---|---|
QueueRequestOptions() |
Initializes a new instance of the QueueRequestOptions class. |
QueueRequestOptions(final QueueRequestOptions other) |
Initializes a new instance of the QueueRequestOptions class as a copy of another QueueRequestOptions instance. |
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
applyDefaults(QueueRequestOptions modifiedOptions)
Applies defaults to the options passed in. |
void |
assertPolicyIfRequired()
Assert that if strict mode is on, an encryption policy is specified. |
Queue |
getEncryptionPolicy()
Gets the encryption policy to use for this request. For more information about the encryption policy defaults, see setEncryptionPolicy(QueueEncryptionPolicy encryptionPolicy). |
final Queue |
populateAndApplyDefaults(QueueRequestOptions options, final 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. 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 getDefaultRequestOptions() object so that all subsequent requests made via the service client will use that QueueEncryptionPolicy. |
Inherited Members
Constructor Details
QueueRequestOptions
public QueueRequestOptions()
Initializes a new instance of the QueueRequestOptions class.
QueueRequestOptions
public QueueRequestOptions(final QueueRequestOptions other)
Initializes a new instance of the QueueRequestOptions class as a copy of another QueueRequestOptions instance.
Parameters:
Method Details
applyDefaults
protected static void applyDefaults(QueueRequestOptions modifiedOptions)
Applies defaults to the options passed in.
Parameters:
assertPolicyIfRequired
protected void assertPolicyIfRequired()
Assert that if strict mode is on, an encryption policy is specified.
getEncryptionPolicy
public QueueEncryptionPolicy getEncryptionPolicy()
Gets the encryption policy to use for this request. For more information about the encryption policy defaults, see setEncryptionPolicy(QueueEncryptionPolicy encryptionPolicy).
Returns:
populateAndApplyDefaults
protected static final QueueRequestOptions populateAndApplyDefaults(QueueRequestOptions options, final CloudQueueClient client)
Populates the default timeout and retry policy from client if they are not set.
Parameters:
setEncryptionPolicy
public void setEncryptionPolicy(QueueEncryptionPolicy encryptionPolicy)
Sets the QueueEncryptionPolicy object to use for this request.
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 getDefaultRequestOptions() object so that all subsequent requests made via the service client will use that QueueEncryptionPolicy.
Parameters:
Applies to
Azure SDK for Java
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기