@Generated(value="software.amazon.awssdk:codegen") public final class StartJobRunRequest extends GlueRequest implements ToCopyableBuilder<StartJobRunRequest.Builder,StartJobRunRequest>
Type | Property and Description |
---|---|
NotificationProperty |
notification
Specifies configuration properties of a job run notification.
|
Modifier and Type | Class and Description |
---|---|
static interface |
StartJobRunRequest.Builder |
Modifier and Type | Method and Description |
---|---|
Integer |
allocatedCapacity()
The number of AWS Glue data processing units (DPUs) to allocate to this JobRun.
|
Map<String,String> |
arguments()
The job arguments specifically for this run.
|
static StartJobRunRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<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 |
jobName()
The name of the job definition to use.
|
String |
jobRunId()
The ID of a previous JobRun to retry.
|
NotificationProperty |
notificationProperty()
Specifies configuration properties of a job run notification.
|
List<SdkField<?>> |
sdkFields() |
String |
securityConfiguration()
The name of the SecurityConfiguration structure to be used with this job run.
|
static Class<? extends StartJobRunRequest.Builder> |
serializableBuilderClass() |
Integer |
timeout()
The JobRun timeout in minutes.
|
StartJobRunRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public NotificationProperty notificationProperty
Specifies configuration properties of a job run notification.
public String jobName()
The name of the job definition to use.
public String jobRunId()
The ID of a previous JobRun to retry.
public Map<String,String> arguments()
The job arguments specifically for this run. They override the equivalent default arguments set for in the job definition itself.
You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
public Integer allocatedCapacity()
The number of AWS Glue data processing units (DPUs) to allocate to this JobRun. From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page.
public Integer timeout()
The JobRun timeout in minutes. This is the maximum time that a job run can consume resources before it is
terminated and enters TIMEOUT
status. The default is 2,880 minutes (48 hours). This overrides the
timeout value set in the parent job.
TIMEOUT
status. The default is 2,880 minutes (48 hours). This
overrides the timeout value set in the parent job.public NotificationProperty notificationProperty()
Specifies configuration properties of a job run notification.
public String securityConfiguration()
The name of the SecurityConfiguration structure to be used with this job run.
public StartJobRunRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StartJobRunRequest.Builder,StartJobRunRequest>
toBuilder
in class GlueRequest
public static StartJobRunRequest.Builder builder()
public static Class<? extends StartJobRunRequest.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.