Interface ProtectedJob.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<ProtectedJob.Builder,,ProtectedJob> SdkBuilder<ProtectedJob.Builder,,ProtectedJob> SdkPojo
- Enclosing class:
 ProtectedJob
- 
Method Summary
Modifier and TypeMethodDescriptioncreateTime(Instant createTime) The creation time of the protected job.default ProtectedJob.Buildererror(Consumer<ProtectedJobError.Builder> error) The error from the protected job.error(ProtectedJobError error) The error from the protected job.The identifier for a protected job instance.default ProtectedJob.BuilderjobParameters(Consumer<ProtectedJobParameters.Builder> jobParameters) The job parameters for the protected job.jobParameters(ProtectedJobParameters jobParameters) The job parameters for the protected job.membershipArn(String membershipArn) The ARN of the membership.membershipId(String membershipId) he identifier for the membership.default ProtectedJob.Builderresult(Consumer<ProtectedJobResult.Builder> result) The result of the protected job.result(ProtectedJobResult result) The result of the protected job.default ProtectedJob.BuilderresultConfiguration(Consumer<ProtectedJobResultConfigurationOutput.Builder> resultConfiguration) Contains any details needed to write the job results.resultConfiguration(ProtectedJobResultConfigurationOutput resultConfiguration) Contains any details needed to write the job results.default ProtectedJob.Builderstatistics(Consumer<ProtectedJobStatistics.Builder> statistics) The statistics of the protected job.statistics(ProtectedJobStatistics statistics) The statistics of the protected job.The status of the protected job.status(ProtectedJobStatus status) The status of the protected job.Methods 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, sdkFieldNameToField, sdkFields 
- 
Method Details
- 
id
The identifier for a protected job instance.
- Parameters:
 id- The identifier for a protected job instance.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
membershipId
he identifier for the membership.
- Parameters:
 membershipId- he identifier for the membership.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
membershipArn
The ARN of the membership.
- Parameters:
 membershipArn- The ARN of the membership.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
createTime
The creation time of the protected job.
- Parameters:
 createTime- The creation time of the protected job.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
jobParameters
The job parameters for the protected job.
- Parameters:
 jobParameters- The job parameters for the protected job.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
jobParameters
The job parameters for the protected job.
This is a convenience method that creates an instance of theProtectedJobParameters.Builderavoiding the need to create one manually viaProtectedJobParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobParameters(ProtectedJobParameters).- Parameters:
 jobParameters- a consumer that will call methods onProtectedJobParameters.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
status
The status of the protected job.
- Parameters:
 status- The status of the protected job.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
status
The status of the protected job.
- Parameters:
 status- The status of the protected job.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
resultConfiguration
Contains any details needed to write the job results.
- Parameters:
 resultConfiguration- Contains any details needed to write the job results.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
resultConfiguration
default ProtectedJob.Builder resultConfiguration(Consumer<ProtectedJobResultConfigurationOutput.Builder> resultConfiguration) Contains any details needed to write the job results.
This is a convenience method that creates an instance of theProtectedJobResultConfigurationOutput.Builderavoiding the need to create one manually viaProtectedJobResultConfigurationOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresultConfiguration(ProtectedJobResultConfigurationOutput).- Parameters:
 resultConfiguration- a consumer that will call methods onProtectedJobResultConfigurationOutput.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
statistics
The statistics of the protected job.
- Parameters:
 statistics- The statistics of the protected job.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
statistics
The statistics of the protected job.
This is a convenience method that creates an instance of theProtectedJobStatistics.Builderavoiding the need to create one manually viaProtectedJobStatistics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatistics(ProtectedJobStatistics).- Parameters:
 statistics- a consumer that will call methods onProtectedJobStatistics.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
result
The result of the protected job.
- Parameters:
 result- The result of the protected job.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
result
The result of the protected job.
This is a convenience method that creates an instance of theProtectedJobResult.Builderavoiding the need to create one manually viaProtectedJobResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresult(ProtectedJobResult).- Parameters:
 result- a consumer that will call methods onProtectedJobResult.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
error
The error from the protected job.
- Parameters:
 error- The error from the protected job.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
error
The error from the protected job.
This is a convenience method that creates an instance of theProtectedJobError.Builderavoiding the need to create one manually viaProtectedJobError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(ProtectedJobError).- Parameters:
 error- a consumer that will call methods onProtectedJobError.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -