public static class BucketSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BucketSummary |
build() |
BucketSummary.Builder |
compartmentId(String compartmentId)
The compartment ID in which the bucket is authorized.
|
BucketSummary.Builder |
copy(BucketSummary model) |
BucketSummary.Builder |
createdBy(String createdBy)
The OCID of the
user who created the bucket.
|
BucketSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
BucketSummary.Builder |
etag(String etag)
The entity tag (ETag) for the bucket.
|
BucketSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
BucketSummary.Builder |
name(String name)
The name of the bucket.
|
BucketSummary.Builder |
namespace(String namespace)
The Object Storage namespace in which the bucket lives.
|
BucketSummary.Builder |
timeCreated(Date timeCreated)
The date and time the bucket was created, as described in RFC
2616.
|
public BucketSummary.Builder namespace(String namespace)
The Object Storage namespace in which the bucket lives.
namespace
- the value to setpublic BucketSummary.Builder name(String name)
The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
name
- the value to setpublic BucketSummary.Builder compartmentId(String compartmentId)
The compartment ID in which the bucket is authorized.
compartmentId
- the value to setpublic BucketSummary.Builder createdBy(String createdBy)
The OCID of the user who created the bucket.
createdBy
- the value to setpublic BucketSummary.Builder timeCreated(Date timeCreated)
The date and time the bucket was created, as described in RFC 2616.
timeCreated
- the value to setpublic BucketSummary.Builder etag(String etag)
The entity tag (ETag) for the bucket.
etag
- the value to setpublic BucketSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
name, type, or namespace. For more information, see Resource
Tags. Example:
{"Department": "Finance"}
freeformTags
- the value to setpublic BucketSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For
more information, see Resource
Tags. Example:
{"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic BucketSummary build()
public BucketSummary.Builder copy(BucketSummary model)
Copyright © 2016–2024. All rights reserved.