Interface CreateJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateJobResponse.Builder,,CreateJobResponse> DataExchangeResponse.Builder,SdkBuilder<CreateJobResponse.Builder,,CreateJobResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateJobResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN for the job.default CreateJobResponse.BuilderassetConfiguration(Consumer<AssetConfiguration.Builder> assetConfiguration) The configuration for the asset, including tags applied to assets created by the job.assetConfiguration(AssetConfiguration assetConfiguration) The configuration for the asset, including tags applied to assets created by the job.The date and time that the job was created, in ISO 8601 format.default CreateJobResponse.Builderdetails(Consumer<ResponseDetails.Builder> details) Details about the job.details(ResponseDetails details) Details about the job.errors(Collection<JobError> errors) The errors associated with jobs.errors(Consumer<JobError.Builder>... errors) The errors associated with jobs.The errors associated with jobs.The unique identifier for the job.The state of the job.The state of the job.The job type.The job type.The date and time that the job was last updated, in ISO 8601 format.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.dataexchange.model.DataExchangeResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
arn
The ARN for the job.
- Parameters:
arn- The ARN for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetConfiguration
The configuration for the asset, including tags applied to assets created by the job.
- Parameters:
assetConfiguration- The configuration for the asset, including tags applied to assets created by the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetConfiguration
default CreateJobResponse.Builder assetConfiguration(Consumer<AssetConfiguration.Builder> assetConfiguration) The configuration for the asset, including tags applied to assets created by the job.
This is a convenience method that creates an instance of theAssetConfiguration.Builderavoiding the need to create one manually viaAssetConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassetConfiguration(AssetConfiguration).- Parameters:
assetConfiguration- a consumer that will call methods onAssetConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The date and time that the job was created, in ISO 8601 format.
- Parameters:
createdAt- The date and time that the job was created, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
Details about the job.
- Parameters:
details- Details about the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
Details about the job.
This is a convenience method that creates an instance of theResponseDetails.Builderavoiding the need to create one manually viaResponseDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todetails(ResponseDetails).- Parameters:
details- a consumer that will call methods onResponseDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
The errors associated with jobs.
- Parameters:
errors- The errors associated with jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The errors associated with jobs.
- Parameters:
errors- The errors associated with jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The errors associated with jobs.
This is a convenience method that creates an instance of theJobError.Builderavoiding the need to create one manually viaJobError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<JobError>).- Parameters:
errors- a consumer that will call methods onJobError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The unique identifier for the job.
- Parameters:
id- The unique identifier for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the job.
- Parameters:
state- The state of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the job.
- Parameters:
state- The state of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The job type.
- Parameters:
type- The job type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The job type.
- Parameters:
type- The job type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updatedAt
The date and time that the job was last updated, in ISO 8601 format.
- Parameters:
updatedAt- The date and time that the job was last updated, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-