@Generated(value="software.amazon.awssdk:codegen") public class CreateJobRequest extends GlueRequest implements ToCopyableBuilder<CreateJobRequest.Builder,CreateJobRequest>
Type | Property and Description |
---|---|
ExecutionProperty |
execution
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
|
Modifier and Type | Class and Description |
---|---|
static interface |
CreateJobRequest.Builder |
Modifier and Type | Method and Description |
---|---|
Integer |
allocatedCapacity()
The number of capacity units allocated to this job.
|
static CreateJobRequest.Builder |
builder() |
JobCommand |
command()
The JobCommand that executes this job.
|
ConnectionsList |
connections()
The connections used for this job.
|
Map<String,String> |
defaultArguments()
The default parameters for this job.
|
String |
description()
Description of the job.
|
boolean |
equals(Object obj) |
ExecutionProperty |
executionProperty()
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
logUri()
This field is reserved for future use.
|
Integer |
maxRetries()
The maximum number of times to retry this job if it fails.
|
String |
name()
The name you assign to this job.
|
String |
role()
The role associated with this job.
|
static Class<? extends CreateJobRequest.Builder> |
serializableBuilderClass() |
CreateJobRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public ExecutionProperty executionProperty
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
public String name()
The name you assign to this job.
public String description()
Description of the job.
public String logUri()
This field is reserved for future use.
public String role()
The role associated with this job.
public ExecutionProperty executionProperty()
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
public JobCommand command()
The JobCommand that executes this job.
public Map<String,String> defaultArguments()
The default parameters for this job.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ConnectionsList connections()
The connections used for this job.
public Integer maxRetries()
The maximum number of times to retry this job if it fails.
public Integer allocatedCapacity()
The number of capacity units allocated to this job.
public CreateJobRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateJobRequest.Builder,CreateJobRequest>
toBuilder
in class GlueRequest
public static CreateJobRequest.Builder builder()
public static Class<? extends CreateJobRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.