Package com.pulumi.gcp.storage.outputs
Class GetBucketObjectResult
- java.lang.Object
-
- com.pulumi.gcp.storage.outputs.GetBucketObjectResult
-
public final class GetBucketObjectResult extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetBucketObjectResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
bucket()
static GetBucketObjectResult.Builder
builder()
static GetBucketObjectResult.Builder
builder(GetBucketObjectResult defaults)
java.lang.String
cacheControl()
java.lang.String
content()
java.lang.String
contentDisposition()
java.lang.String
contentEncoding()
java.lang.String
contentLanguage()
java.lang.String
contentType()
java.lang.String
crc32c()
java.util.List<GetBucketObjectCustomerEncryption>
customerEncryptions()
java.lang.String
detectMd5hash()
java.lang.Boolean
eventBasedHold()
java.lang.String
id()
java.lang.String
kmsKeyName()
java.lang.String
md5hash()
java.lang.String
mediaLink()
java.util.Map<java.lang.String,java.lang.String>
metadata()
java.util.Optional<java.lang.String>
name()
java.lang.String
outputName()
java.util.List<GetBucketObjectRetention>
retentions()
java.lang.String
selfLink()
java.lang.String
source()
java.lang.String
storageClass()
java.lang.Boolean
temporaryHold()
-
-
-
Method Detail
-
bucket
public java.util.Optional<java.lang.String> bucket()
-
cacheControl
public java.lang.String cacheControl()
- Returns:
- (Computed) [Cache-Control](https://tools.ietf.org/html/rfc7234#section-5.2) directive to specify caching behavior of object data. If omitted and object is accessible to all anonymous users, the default will be public, max-age=3600
-
content
public java.lang.String content()
-
contentDisposition
public java.lang.String contentDisposition()
- Returns:
- (Computed) [Content-Disposition](https://tools.ietf.org/html/rfc6266) of the object data.
-
contentEncoding
public java.lang.String contentEncoding()
- Returns:
- (Computed) [Content-Encoding](https://tools.ietf.org/html/rfc7231#section-3.1.2.2) of the object data.
-
contentLanguage
public java.lang.String contentLanguage()
- Returns:
- (Computed) [Content-Language](https://tools.ietf.org/html/rfc7231#section-3.1.3.2) of the object data.
-
contentType
public java.lang.String contentType()
- Returns:
- (Computed) [Content-Type](https://tools.ietf.org/html/rfc7231#section-3.1.1.5) of the object data. Defaults to "application/octet-stream" or "text/plain; charset=utf-8".
-
crc32c
public java.lang.String crc32c()
- Returns:
- (Computed) Base 64 CRC32 hash of the uploaded data.
-
customerEncryptions
public java.util.List<GetBucketObjectCustomerEncryption> customerEncryptions()
-
detectMd5hash
public java.lang.String detectMd5hash()
-
eventBasedHold
public java.lang.Boolean eventBasedHold()
- Returns:
- (Computed) Whether an object is under [event-based hold](https://cloud.google.com/storage/docs/object-holds#hold-types). Event-based hold is a way to retain objects until an event occurs, which is signified by the hold's release (i.e. this value is set to false). After being released (set to false), such objects will be subject to bucket-level retention (if any).
-
id
public java.lang.String id()
- Returns:
- The provider-assigned unique ID for this managed resource.
-
kmsKeyName
public java.lang.String kmsKeyName()
-
md5hash
public java.lang.String md5hash()
- Returns:
- (Computed) Base 64 MD5 hash of the uploaded data.
-
mediaLink
public java.lang.String mediaLink()
- Returns:
- (Computed) A url reference to download this object.
-
metadata
public java.util.Map<java.lang.String,java.lang.String> metadata()
-
name
public java.util.Optional<java.lang.String> name()
-
outputName
public java.lang.String outputName()
-
retentions
public java.util.List<GetBucketObjectRetention> retentions()
-
selfLink
public java.lang.String selfLink()
- Returns:
- (Computed) A url reference to this object.
-
source
public java.lang.String source()
-
storageClass
public java.lang.String storageClass()
- Returns:
- (Computed) The [StorageClass](https://cloud.google.com/storage/docs/storage-classes) of the new bucket object. Supported values include: `MULTI_REGIONAL`, `REGIONAL`, `NEARLINE`, `COLDLINE`, `ARCHIVE`. If not provided, this defaults to the bucket's default storage class or to a [standard](https://cloud.google.com/storage/docs/storage-classes#standard) class.
-
temporaryHold
public java.lang.Boolean temporaryHold()
- Returns:
- (Computed) Whether an object is under [temporary hold](https://cloud.google.com/storage/docs/object-holds#hold-types). While this flag is set to true, the object is protected against deletion and overwrites.
-
builder
public static GetBucketObjectResult.Builder builder()
-
builder
public static GetBucketObjectResult.Builder builder(GetBucketObjectResult defaults)
-
-