public final class ImageId extends ResourceId
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
image()
Returns the name of the image.
|
static ImageId |
of(String image)
Returns an image identity given the image name.
|
static ImageId |
of(String project,
String image)
Returns an image identity given project and image names.
|
String |
selfLink()
Returns a fully qualified URL to the entity.
|
project, toStringpublic String image()
[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.public String selfLink()
ResourceIdselfLink in class ResourceIdpublic static ImageId of(String image)
[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.public static ImageId of(String project, String image)
[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.Copyright © 2016 Google. All rights reserved.