Class BatchJobDefinition
- java.lang.Object
-
- software.amazon.awssdk.services.m2.model.BatchJobDefinition
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BatchJobDefinition.Builder,BatchJobDefinition>
@Generated("software.amazon.awssdk:codegen") public final class BatchJobDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchJobDefinition.Builder,BatchJobDefinition>
Defines the details of a batch job.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBatchJobDefinition.Builderstatic classBatchJobDefinition.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchJobDefinition.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FileBatchJobDefinitionfileBatchJobDefinition()Specifies a file containing a batch job definition.static BatchJobDefinitionfromFileBatchJobDefinition(Consumer<FileBatchJobDefinition.Builder> fileBatchJobDefinition)Create an instance of this class withfileBatchJobDefinition()initialized to the given value.static BatchJobDefinitionfromFileBatchJobDefinition(FileBatchJobDefinition fileBatchJobDefinition)Create an instance of this class withfileBatchJobDefinition()initialized to the given value.static BatchJobDefinitionfromScriptBatchJobDefinition(Consumer<ScriptBatchJobDefinition.Builder> scriptBatchJobDefinition)Create an instance of this class withscriptBatchJobDefinition()initialized to the given value.static BatchJobDefinitionfromScriptBatchJobDefinition(ScriptBatchJobDefinition scriptBatchJobDefinition)Create an instance of this class withscriptBatchJobDefinition()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ScriptBatchJobDefinitionscriptBatchJobDefinition()A script containing a batch job definition.List<SdkField<?>>sdkFields()static Class<? extends BatchJobDefinition.Builder>serializableBuilderClass()BatchJobDefinition.BuildertoBuilder()StringtoString()Returns a string representation of this object.BatchJobDefinition.Typetype()Retrieve an enum value representing which member of this object is populated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
fileBatchJobDefinition
public final FileBatchJobDefinition fileBatchJobDefinition()
Specifies a file containing a batch job definition.
- Returns:
- Specifies a file containing a batch job definition.
-
scriptBatchJobDefinition
public final ScriptBatchJobDefinition scriptBatchJobDefinition()
A script containing a batch job definition.
- Returns:
- A script containing a batch job definition.
-
toBuilder
public BatchJobDefinition.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BatchJobDefinition.Builder,BatchJobDefinition>
-
builder
public static BatchJobDefinition.Builder builder()
-
serializableBuilderClass
public static Class<? extends BatchJobDefinition.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
fromFileBatchJobDefinition
public static BatchJobDefinition fromFileBatchJobDefinition(FileBatchJobDefinition fileBatchJobDefinition)
Create an instance of this class withfileBatchJobDefinition()initialized to the given value.Specifies a file containing a batch job definition.
- Parameters:
fileBatchJobDefinition- Specifies a file containing a batch job definition.
-
fromFileBatchJobDefinition
public static BatchJobDefinition fromFileBatchJobDefinition(Consumer<FileBatchJobDefinition.Builder> fileBatchJobDefinition)
Create an instance of this class withfileBatchJobDefinition()initialized to the given value.Specifies a file containing a batch job definition.
- Parameters:
fileBatchJobDefinition- Specifies a file containing a batch job definition.
-
fromScriptBatchJobDefinition
public static BatchJobDefinition fromScriptBatchJobDefinition(ScriptBatchJobDefinition scriptBatchJobDefinition)
Create an instance of this class withscriptBatchJobDefinition()initialized to the given value.A script containing a batch job definition.
- Parameters:
scriptBatchJobDefinition- A script containing a batch job definition.
-
fromScriptBatchJobDefinition
public static BatchJobDefinition fromScriptBatchJobDefinition(Consumer<ScriptBatchJobDefinition.Builder> scriptBatchJobDefinition)
Create an instance of this class withscriptBatchJobDefinition()initialized to the given value.A script containing a batch job definition.
- Parameters:
scriptBatchJobDefinition- A script containing a batch job definition.
-
type
public BatchJobDefinition.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beBatchJobDefinition.Type.UNKNOWN_TO_SDK_VERSIONif 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 beBatchJobDefinition.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-