
target.apidocs.com.google.api.services.compute.model.BackendBucket.html Maven / Gradle / Ivy
BackendBucket (Compute Engine API alpha-rev20200526-1.30.9)
com.google.api.services.compute.model
Class BackendBucket
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.compute.model.BackendBucket
-
public final class BackendBucket
extends GenericJson
Represents a Cloud Storage Bucket resource.
This Cloud Storage bucket resource is referenced by a URL map of a load balancer. For more
information, read Backend Buckets.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
BackendBucket()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
BackendBucket
clone()
String
getBucketName()
Cloud Storage bucket name.
BackendBucketCdnPolicy
getCdnPolicy()
Cloud CDN configuration for this BackendBucket.
String
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
String
getDescription()
An optional textual description of the resource; provided by the client when the resource is
created.
Boolean
getEnableCdn()
If true, enable Cloud CDN for this BackendBucket.
BigInteger
getId()
[Output Only] Unique identifier for the resource; defined by the server.
String
getKind()
Type of the resource.
String
getName()
Name of the resource.
String
getSelfLink()
[Output Only] Server-defined URL for the resource.
String
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id.
BackendBucket
set(String fieldName,
Object value)
BackendBucket
setBucketName(String bucketName)
Cloud Storage bucket name.
BackendBucket
setCdnPolicy(BackendBucketCdnPolicy cdnPolicy)
Cloud CDN configuration for this BackendBucket.
BackendBucket
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
BackendBucket
setDescription(String description)
An optional textual description of the resource; provided by the client when the resource is
created.
BackendBucket
setEnableCdn(Boolean enableCdn)
If true, enable Cloud CDN for this BackendBucket.
BackendBucket
setId(BigInteger id)
[Output Only] Unique identifier for the resource; defined by the server.
BackendBucket
setKind(String kind)
Type of the resource.
BackendBucket
setName(String name)
Name of the resource.
BackendBucket
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
BackendBucket
setSelfLinkWithId(String selfLinkWithId)
[Output Only] Server-defined URL for this resource with the resource id.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getBucketName
public String getBucketName()
Cloud Storage bucket name.
- Returns:
- value or
null
for none
-
setBucketName
public BackendBucket setBucketName(String bucketName)
Cloud Storage bucket name.
- Parameters:
bucketName
- bucketName or null
for none
-
getCdnPolicy
public BackendBucketCdnPolicy getCdnPolicy()
Cloud CDN configuration for this BackendBucket.
- Returns:
- value or
null
for none
-
setCdnPolicy
public BackendBucket setCdnPolicy(BackendBucketCdnPolicy cdnPolicy)
Cloud CDN configuration for this BackendBucket.
- Parameters:
cdnPolicy
- cdnPolicy or null
for none
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
- Returns:
- value or
null
for none
-
setCreationTimestamp
public BackendBucket setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
- Parameters:
creationTimestamp
- creationTimestamp or null
for none
-
getDescription
public String getDescription()
An optional textual description of the resource; provided by the client when the resource is
created.
- Returns:
- value or
null
for none
-
setDescription
public BackendBucket setDescription(String description)
An optional textual description of the resource; provided by the client when the resource is
created.
- Parameters:
description
- description or null
for none
-
getEnableCdn
public Boolean getEnableCdn()
If true, enable Cloud CDN for this BackendBucket.
- Returns:
- value or
null
for none
-
setEnableCdn
public BackendBucket setEnableCdn(Boolean enableCdn)
If true, enable Cloud CDN for this BackendBucket.
- Parameters:
enableCdn
- enableCdn or null
for none
-
getId
public BigInteger getId()
[Output Only] Unique identifier for the resource; defined by the server.
- Returns:
- value or
null
for none
-
setId
public BackendBucket setId(BigInteger id)
[Output Only] Unique identifier for the resource; defined by the server.
- Parameters:
id
- id or null
for none
-
getKind
public String getKind()
Type of the resource.
- Returns:
- value or
null
for none
-
setKind
public BackendBucket setKind(String kind)
Type of the resource.
- Parameters:
kind
- kind or null
for none
-
getName
public String getName()
Name of the resource. Provided by the client when the resource is created. The name must be
1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
character must be a lowercase letter, and all following characters must be a dash, lowercase
letter, or digit, except the last character, which cannot be a dash.
- Returns:
- value or
null
for none
-
setName
public BackendBucket setName(String name)
Name of the resource. Provided by the client when the resource is created. The name must be
1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
character must be a lowercase letter, and all following characters must be a dash, lowercase
letter, or digit, except the last character, which cannot be a dash.
- Parameters:
name
- name or null
for none
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
- Returns:
- value or
null
for none
-
setSelfLink
public BackendBucket setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
- Parameters:
selfLink
- selfLink or null
for none
-
getSelfLinkWithId
public String getSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id.
- Returns:
- value or
null
for none
-
setSelfLinkWithId
public BackendBucket setSelfLinkWithId(String selfLinkWithId)
[Output Only] Server-defined URL for this resource with the resource id.
- Parameters:
selfLinkWithId
- selfLinkWithId or null
for none
-
set
public BackendBucket set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public BackendBucket clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy