public abstract class CreateBucketOptions extends Object
GoogleCloudStorage.| Modifier and Type | Class and Description |
|---|---|
static class |
CreateBucketOptions.Builder
Builder for
CreateBucketOptions |
| Modifier and Type | Field and Description |
|---|---|
static CreateBucketOptions |
DEFAULT
Create bucket with all default settings.
|
| Constructor and Description |
|---|
CreateBucketOptions() |
| Modifier and Type | Method and Description |
|---|---|
static CreateBucketOptions.Builder |
builder() |
abstract String |
getLocation()
Returns the bucket location.
|
abstract String |
getStorageClass()
Returns the bucket storage class.
|
abstract Duration |
getTtl()
Returns the bucket retention period.
|
abstract CreateBucketOptions.Builder |
toBuilder() |
public static final CreateBucketOptions DEFAULT
public static CreateBucketOptions.Builder builder()
public abstract CreateBucketOptions.Builder toBuilder()
@Nullable public abstract String getStorageClass()
Copyright © 2023. All rights reserved.