Class BatchJobIdentifier
- java.lang.Object
-
- software.amazon.awssdk.services.m2.model.BatchJobIdentifier
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BatchJobIdentifier.Builder,BatchJobIdentifier>
@Generated("software.amazon.awssdk:codegen") public final class BatchJobIdentifier extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchJobIdentifier.Builder,BatchJobIdentifier>
Identifies a specific batch job.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBatchJobIdentifier.Builderstatic classBatchJobIdentifier.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchJobIdentifier.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FileBatchJobIdentifierfileBatchJobIdentifier()Specifies a file associated with a specific batch job.static BatchJobIdentifierfromFileBatchJobIdentifier(Consumer<FileBatchJobIdentifier.Builder> fileBatchJobIdentifier)Create an instance of this class withfileBatchJobIdentifier()initialized to the given value.static BatchJobIdentifierfromFileBatchJobIdentifier(FileBatchJobIdentifier fileBatchJobIdentifier)Create an instance of this class withfileBatchJobIdentifier()initialized to the given value.static BatchJobIdentifierfromRestartBatchJobIdentifier(Consumer<RestartBatchJobIdentifier.Builder> restartBatchJobIdentifier)Create an instance of this class withrestartBatchJobIdentifier()initialized to the given value.static BatchJobIdentifierfromRestartBatchJobIdentifier(RestartBatchJobIdentifier restartBatchJobIdentifier)Create an instance of this class withrestartBatchJobIdentifier()initialized to the given value.static BatchJobIdentifierfromS3BatchJobIdentifier(Consumer<S3BatchJobIdentifier.Builder> s3BatchJobIdentifier)Create an instance of this class withs3BatchJobIdentifier()initialized to the given value.static BatchJobIdentifierfromS3BatchJobIdentifier(S3BatchJobIdentifier s3BatchJobIdentifier)Create an instance of this class withs3BatchJobIdentifier()initialized to the given value.static BatchJobIdentifierfromScriptBatchJobIdentifier(Consumer<ScriptBatchJobIdentifier.Builder> scriptBatchJobIdentifier)Create an instance of this class withscriptBatchJobIdentifier()initialized to the given value.static BatchJobIdentifierfromScriptBatchJobIdentifier(ScriptBatchJobIdentifier scriptBatchJobIdentifier)Create an instance of this class withscriptBatchJobIdentifier()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RestartBatchJobIdentifierrestartBatchJobIdentifier()Specifies the required information for restart, including execution ID and jobsteprestartmarker.S3BatchJobIdentifiers3BatchJobIdentifier()Specifies an Amazon S3 location that identifies the batch jobs that you want to run.ScriptBatchJobIdentifierscriptBatchJobIdentifier()A batch job identifier in which the batch job to run is identified by the script name.List<SdkField<?>>sdkFields()static Class<? extends BatchJobIdentifier.Builder>serializableBuilderClass()BatchJobIdentifier.BuildertoBuilder()StringtoString()Returns a string representation of this object.BatchJobIdentifier.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
-
fileBatchJobIdentifier
public final FileBatchJobIdentifier fileBatchJobIdentifier()
Specifies a file associated with a specific batch job.
- Returns:
- Specifies a file associated with a specific batch job.
-
restartBatchJobIdentifier
public final RestartBatchJobIdentifier restartBatchJobIdentifier()
Specifies the required information for restart, including execution ID and jobsteprestartmarker.
- Returns:
- Specifies the required information for restart, including execution ID and jobsteprestartmarker.
-
s3BatchJobIdentifier
public final S3BatchJobIdentifier s3BatchJobIdentifier()
Specifies an Amazon S3 location that identifies the batch jobs that you want to run. Use this identifier to run ad hoc batch jobs.
- Returns:
- Specifies an Amazon S3 location that identifies the batch jobs that you want to run. Use this identifier to run ad hoc batch jobs.
-
scriptBatchJobIdentifier
public final ScriptBatchJobIdentifier scriptBatchJobIdentifier()
A batch job identifier in which the batch job to run is identified by the script name.
- Returns:
- A batch job identifier in which the batch job to run is identified by the script name.
-
toBuilder
public BatchJobIdentifier.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BatchJobIdentifier.Builder,BatchJobIdentifier>
-
builder
public static BatchJobIdentifier.Builder builder()
-
serializableBuilderClass
public static Class<? extends BatchJobIdentifier.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.
-
fromFileBatchJobIdentifier
public static BatchJobIdentifier fromFileBatchJobIdentifier(FileBatchJobIdentifier fileBatchJobIdentifier)
Create an instance of this class withfileBatchJobIdentifier()initialized to the given value.Specifies a file associated with a specific batch job.
- Parameters:
fileBatchJobIdentifier- Specifies a file associated with a specific batch job.
-
fromFileBatchJobIdentifier
public static BatchJobIdentifier fromFileBatchJobIdentifier(Consumer<FileBatchJobIdentifier.Builder> fileBatchJobIdentifier)
Create an instance of this class withfileBatchJobIdentifier()initialized to the given value.Specifies a file associated with a specific batch job.
- Parameters:
fileBatchJobIdentifier- Specifies a file associated with a specific batch job.
-
fromRestartBatchJobIdentifier
public static BatchJobIdentifier fromRestartBatchJobIdentifier(RestartBatchJobIdentifier restartBatchJobIdentifier)
Create an instance of this class withrestartBatchJobIdentifier()initialized to the given value.Specifies the required information for restart, including execution ID and jobsteprestartmarker.
- Parameters:
restartBatchJobIdentifier- Specifies the required information for restart, including execution ID and jobsteprestartmarker.
-
fromRestartBatchJobIdentifier
public static BatchJobIdentifier fromRestartBatchJobIdentifier(Consumer<RestartBatchJobIdentifier.Builder> restartBatchJobIdentifier)
Create an instance of this class withrestartBatchJobIdentifier()initialized to the given value.Specifies the required information for restart, including execution ID and jobsteprestartmarker.
- Parameters:
restartBatchJobIdentifier- Specifies the required information for restart, including execution ID and jobsteprestartmarker.
-
fromS3BatchJobIdentifier
public static BatchJobIdentifier fromS3BatchJobIdentifier(S3BatchJobIdentifier s3BatchJobIdentifier)
Create an instance of this class withs3BatchJobIdentifier()initialized to the given value.Specifies an Amazon S3 location that identifies the batch jobs that you want to run. Use this identifier to run ad hoc batch jobs.
- Parameters:
s3BatchJobIdentifier- Specifies an Amazon S3 location that identifies the batch jobs that you want to run. Use this identifier to run ad hoc batch jobs.
-
fromS3BatchJobIdentifier
public static BatchJobIdentifier fromS3BatchJobIdentifier(Consumer<S3BatchJobIdentifier.Builder> s3BatchJobIdentifier)
Create an instance of this class withs3BatchJobIdentifier()initialized to the given value.Specifies an Amazon S3 location that identifies the batch jobs that you want to run. Use this identifier to run ad hoc batch jobs.
- Parameters:
s3BatchJobIdentifier- Specifies an Amazon S3 location that identifies the batch jobs that you want to run. Use this identifier to run ad hoc batch jobs.
-
fromScriptBatchJobIdentifier
public static BatchJobIdentifier fromScriptBatchJobIdentifier(ScriptBatchJobIdentifier scriptBatchJobIdentifier)
Create an instance of this class withscriptBatchJobIdentifier()initialized to the given value.A batch job identifier in which the batch job to run is identified by the script name.
- Parameters:
scriptBatchJobIdentifier- A batch job identifier in which the batch job to run is identified by the script name.
-
fromScriptBatchJobIdentifier
public static BatchJobIdentifier fromScriptBatchJobIdentifier(Consumer<ScriptBatchJobIdentifier.Builder> scriptBatchJobIdentifier)
Create an instance of this class withscriptBatchJobIdentifier()initialized to the given value.A batch job identifier in which the batch job to run is identified by the script name.
- Parameters:
scriptBatchJobIdentifier- A batch job identifier in which the batch job to run is identified by the script name.
-
type
public BatchJobIdentifier.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 beBatchJobIdentifier.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 beBatchJobIdentifier.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-