public class JobResource extends Object
Constructor and Description |
---|
JobResource() |
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name of the resource.
|
String |
resourcePath()
Get the path to the resource.
|
JobResourceType |
type()
Get the job resource type.
|
JobResource |
withName(String name)
Set the name of the resource.
|
JobResource |
withResourcePath(String resourcePath)
Set the path to the resource.
|
JobResource |
withType(JobResourceType type)
Set the job resource type.
|
public String name()
public JobResource withName(String name)
name
- the name value to setpublic String resourcePath()
public JobResource withResourcePath(String resourcePath)
resourcePath
- the resourcePath value to setpublic JobResourceType type()
public JobResource withType(JobResourceType type)
type
- the type value to setCopyright © 2019. All rights reserved.