public class BucketAccelerateConfiguration
extends java.lang.Object
Constructor and Description |
---|
BucketAccelerateConfiguration(BucketAccelerateStatus status)
Creates a new bucket accelerate configuration object with the specified
status.
|
BucketAccelerateConfiguration(java.lang.String status)
Creates a new bucket accelerate configuration object with the specified
status.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStatus() |
boolean |
isAccelerateEnabled()
A convenience method that returns whether the bucket is enabled
accelerate mode.
|
void |
setStatus(BucketAccelerateStatus status)
Sets the desired bucket accelerate status for this configuration object.
|
void |
setStatus(java.lang.String status)
Sets the desired bucket accelerate status for this configuration object.
|
BucketAccelerateConfiguration |
withStatus(BucketAccelerateStatus status) |
BucketAccelerateConfiguration |
withStatus(java.lang.String status)
Fluent setter method for
setStatus(String) |
public BucketAccelerateConfiguration(java.lang.String status)
status
- The desired bucket accelerate status for the new
configuration object. See BucketAccelerateStatus
for a
list of valid values.public BucketAccelerateConfiguration(BucketAccelerateStatus status)
status
- The desired bucket accelerate status for the new
configuration object. See BucketAccelerateStatus
for a
list of valid values.public java.lang.String getStatus()
public void setStatus(java.lang.String status)
status
- The desired bucket accelerate status for this configuration
object. See BucketAccelerateStatus
for a list of valid
values.public void setStatus(BucketAccelerateStatus status)
status
- The desired bucket accelerate status for this configuration
object. See BucketAccelerateStatus
for a list of valid
values.public BucketAccelerateConfiguration withStatus(java.lang.String status)
setStatus(String)
BucketAccelerateConfiguration
object so that
additional method calls may be chained together.setStatus(String)
public BucketAccelerateConfiguration withStatus(BucketAccelerateStatus status)
public boolean isAccelerateEnabled()
BucketAccelerateStatus.Enabled
status.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.