@InterfaceAudience.Public @InterfaceStability.Unstable public class Artifact extends Object implements Serializable
Constructor and Description |
---|
Artifact() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getId() |
org.apache.hadoop.yarn.service.api.records.Artifact.TypeEnum |
getType() |
String |
getUri() |
int |
hashCode() |
Artifact |
id(String id)
Artifact id.
|
void |
setId(String id) |
void |
setType(org.apache.hadoop.yarn.service.api.records.Artifact.TypeEnum type) |
void |
setUri(String uri) |
String |
toString() |
Artifact |
type(org.apache.hadoop.yarn.service.api.records.Artifact.TypeEnum type)
Artifact type, like docker, tarball, etc.
|
Artifact |
uri(String uri)
Artifact location to support multiple artifact stores (optional).
|
public Artifact id(String id)
public String getId()
public void setId(String id)
public Artifact type(org.apache.hadoop.yarn.service.api.records.Artifact.TypeEnum type)
public org.apache.hadoop.yarn.service.api.records.Artifact.TypeEnum getType()
public void setType(org.apache.hadoop.yarn.service.api.records.Artifact.TypeEnum type)
public Artifact uri(String uri)
public String getUri()
public void setUri(String uri)
Copyright © 2024 Apache Software Foundation. All rights reserved.