Interface GetTransformerJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,B2BiResponse.Builder,Buildable,CopyableBuilder<GetTransformerJobResponse.Builder,,GetTransformerJobResponse> SdkBuilder<GetTransformerJobResponse.Builder,,GetTransformerJobResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetTransformerJobResponse
-
Method Summary
Modifier and TypeMethodDescriptionReturns an optional error message, which gets populated when the job is not run successfully.outputFiles(Collection<S3Location> outputFiles) Returns the location for the output files.outputFiles(Consumer<S3Location.Builder>... outputFiles) Returns the location for the output files.outputFiles(S3Location... outputFiles) Returns the location for the output files.Returns the current state of the transformer job, eitherrunning,succeeded, orfailed.status(TransformerJobStatus status) Returns the current state of the transformer job, eitherrunning,succeeded, orfailed.Methods inherited from interface software.amazon.awssdk.services.b2bi.model.B2BiResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
status
Returns the current state of the transformer job, either
running,succeeded, orfailed.- Parameters:
status- Returns the current state of the transformer job, eitherrunning,succeeded, orfailed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Returns the current state of the transformer job, either
running,succeeded, orfailed.- Parameters:
status- Returns the current state of the transformer job, eitherrunning,succeeded, orfailed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputFiles
Returns the location for the output files. If the caller specified a directory for the output, then this contains the full path to the output file, including the file name generated by the service.
- Parameters:
outputFiles- Returns the location for the output files. If the caller specified a directory for the output, then this contains the full path to the output file, including the file name generated by the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputFiles
Returns the location for the output files. If the caller specified a directory for the output, then this contains the full path to the output file, including the file name generated by the service.
- Parameters:
outputFiles- Returns the location for the output files. If the caller specified a directory for the output, then this contains the full path to the output file, including the file name generated by the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputFiles
Returns the location for the output files. If the caller specified a directory for the output, then this contains the full path to the output file, including the file name generated by the service.
This is a convenience method that creates an instance of theS3Location.Builderavoiding the need to create one manually viaS3Location.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputFiles(List<S3Location>).- Parameters:
outputFiles- a consumer that will call methods onS3Location.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
Returns an optional error message, which gets populated when the job is not run successfully.
- Parameters:
message- Returns an optional error message, which gets populated when the job is not run successfully.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-