public static class LicenseCode.Builder extends Object
Modifier and Type | Method and Description |
---|---|
LicenseCode.Builder |
addAllLicenseAlias(List<LicenseCodeLicenseAlias> licenseAlias)
[Output Only] URL and description aliases of Licenses with the same License Code.
|
LicenseCode.Builder |
addLicenseAlias(LicenseCodeLicenseAlias licenseAlias)
[Output Only] URL and description aliases of Licenses with the same License Code.
|
LicenseCode |
build() |
LicenseCode.Builder |
clone() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
[Output Only] Description of this License Code.
|
String |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of resource.
|
List<LicenseCodeLicenseAlias> |
getLicenseAliasList()
[Output Only] URL and description aliases of Licenses with the same License Code.
|
String |
getName()
[Output Only] Name of the resource.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
String |
getState()
[Output Only] Current state of this License Code.
|
Boolean |
getTransferable()
[Output Only] If true, the license will remain attached when creating images or snapshots
from disks.
|
LicenseCode.Builder |
mergeFrom(LicenseCode other) |
LicenseCode.Builder |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
LicenseCode.Builder |
setDescription(String description)
[Output Only] Description of this License Code.
|
LicenseCode.Builder |
setId(String id)
[Output Only] The unique identifier for the resource.
|
LicenseCode.Builder |
setKind(String kind)
[Output Only] Type of resource.
|
LicenseCode.Builder |
setName(String name)
[Output Only] Name of the resource.
|
LicenseCode.Builder |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
LicenseCode.Builder |
setState(String state)
[Output Only] Current state of this License Code.
|
LicenseCode.Builder |
setTransferable(Boolean transferable)
[Output Only] If true, the license will remain attached when creating images or snapshots
from disks.
|
public LicenseCode.Builder mergeFrom(LicenseCode other)
public String getCreationTimestamp()
public LicenseCode.Builder setCreationTimestamp(String creationTimestamp)
public String getDescription()
public LicenseCode.Builder setDescription(String description)
public String getId()
public LicenseCode.Builder setId(String id)
public String getKind()
public LicenseCode.Builder setKind(String kind)
public List<LicenseCodeLicenseAlias> getLicenseAliasList()
public LicenseCode.Builder addAllLicenseAlias(List<LicenseCodeLicenseAlias> licenseAlias)
public LicenseCode.Builder addLicenseAlias(LicenseCodeLicenseAlias licenseAlias)
public String getName()
public LicenseCode.Builder setName(String name)
public String getSelfLink()
public LicenseCode.Builder setSelfLink(String selfLink)
public String getState()
public LicenseCode.Builder setState(String state)
public Boolean getTransferable()
public LicenseCode.Builder setTransferable(Boolean transferable)
public LicenseCode build()
public LicenseCode.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.