Interface GetTransformerJobResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,B2BiResponse.Builder,Buildable,CopyableBuilder<GetTransformerJobResponse.Builder,GetTransformerJobResponse>,SdkBuilder<GetTransformerJobResponse.Builder,GetTransformerJobResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetTransformerJobResponse
public static interface GetTransformerJobResponse.Builder extends B2BiResponse.Builder, SdkPojo, CopyableBuilder<GetTransformerJobResponse.Builder,GetTransformerJobResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetTransformerJobResponse.Buildermessage(String message)Returns an optional error message, which gets populated when the job is not run successfully.GetTransformerJobResponse.BuilderoutputFiles(Collection<S3Location> outputFiles)Returns the location for the output files.GetTransformerJobResponse.BuilderoutputFiles(Consumer<S3Location.Builder>... outputFiles)Returns the location for the output files.GetTransformerJobResponse.BuilderoutputFiles(S3Location... outputFiles)Returns the location for the output files.GetTransformerJobResponse.Builderstatus(String status)Returns the current state of the transformer job, eitherrunning,succeeded, orfailed.GetTransformerJobResponse.Builderstatus(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, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
status
GetTransformerJobResponse.Builder status(String 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:
TransformerJobStatus,TransformerJobStatus
-
status
GetTransformerJobResponse.Builder status(TransformerJobStatus 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:
TransformerJobStatus,TransformerJobStatus
-
outputFiles
GetTransformerJobResponse.Builder outputFiles(Collection<S3Location> 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
GetTransformerJobResponse.Builder outputFiles(S3Location... 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
GetTransformerJobResponse.Builder outputFiles(Consumer<S3Location.Builder>... 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 to#outputFiles(List.) - 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:
#outputFiles(java.util.Collection)
-
message
GetTransformerJobResponse.Builder message(String 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.
-
-