@Generated(value="software.amazon.awssdk:codegen") public final class BatchJobDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchJobDefinition.Builder,BatchJobDefinition>
Defines the details of a batch job.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BatchJobDefinition.Builder |
static class |
BatchJobDefinition.Type |
| Modifier and Type | Method and Description |
|---|---|
static BatchJobDefinition.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FileBatchJobDefinition |
fileBatchJobDefinition()
Specifies a file containing a batch job definition.
|
static BatchJobDefinition |
fromFileBatchJobDefinition(Consumer<FileBatchJobDefinition.Builder> fileBatchJobDefinition)
Create an instance of this class with
fileBatchJobDefinition() initialized to the given value. |
static BatchJobDefinition |
fromFileBatchJobDefinition(FileBatchJobDefinition fileBatchJobDefinition)
Create an instance of this class with
fileBatchJobDefinition() initialized to the given value. |
static BatchJobDefinition |
fromScriptBatchJobDefinition(Consumer<ScriptBatchJobDefinition.Builder> scriptBatchJobDefinition)
Create an instance of this class with
scriptBatchJobDefinition() initialized to the given value. |
static BatchJobDefinition |
fromScriptBatchJobDefinition(ScriptBatchJobDefinition scriptBatchJobDefinition)
Create an instance of this class with
scriptBatchJobDefinition() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ScriptBatchJobDefinition |
scriptBatchJobDefinition()
A script containing a batch job definition.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BatchJobDefinition.Builder> |
serializableBuilderClass() |
BatchJobDefinition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
BatchJobDefinition.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final FileBatchJobDefinition fileBatchJobDefinition()
Specifies a file containing a batch job definition.
public final ScriptBatchJobDefinition scriptBatchJobDefinition()
A script containing a batch job definition.
public BatchJobDefinition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BatchJobDefinition.Builder,BatchJobDefinition>public static BatchJobDefinition.Builder builder()
public static Class<? extends BatchJobDefinition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static BatchJobDefinition fromFileBatchJobDefinition(FileBatchJobDefinition fileBatchJobDefinition)
fileBatchJobDefinition() initialized to the given value.
Specifies a file containing a batch job definition.
fileBatchJobDefinition - Specifies a file containing a batch job definition.public static BatchJobDefinition fromFileBatchJobDefinition(Consumer<FileBatchJobDefinition.Builder> fileBatchJobDefinition)
fileBatchJobDefinition() initialized to the given value.
Specifies a file containing a batch job definition.
fileBatchJobDefinition - Specifies a file containing a batch job definition.public static BatchJobDefinition fromScriptBatchJobDefinition(ScriptBatchJobDefinition scriptBatchJobDefinition)
scriptBatchJobDefinition() initialized to the given value.
A script containing a batch job definition.
scriptBatchJobDefinition - A script containing a batch job definition.public static BatchJobDefinition fromScriptBatchJobDefinition(Consumer<ScriptBatchJobDefinition.Builder> scriptBatchJobDefinition)
scriptBatchJobDefinition() initialized to the given value.
A script containing a batch job definition.
scriptBatchJobDefinition - A script containing a batch job definition.public BatchJobDefinition.Type type()
BatchJobDefinition.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be BatchJobDefinition.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.