Interface GetReferenceImportJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetReferenceImportJobResponse.Builder,,GetReferenceImportJobResponse> OmicsResponse.Builder,SdkBuilder<GetReferenceImportJobResponse.Builder,,GetReferenceImportJobResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetReferenceImportJobResponse
@Mutable
@NotThreadSafe
public static interface GetReferenceImportJobResponse.Builder
extends OmicsResponse.Builder, SdkPojo, CopyableBuilder<GetReferenceImportJobResponse.Builder,GetReferenceImportJobResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncompletionTime(Instant completionTime) When the job completed.creationTime(Instant creationTime) When the job was created.The job's ID.referenceStoreId(String referenceStoreId) The job's reference store ID.The job's service role ARN.sources(Collection<ImportReferenceSourceItem> sources) The job's source files.sources(Consumer<ImportReferenceSourceItem.Builder>... sources) The job's source files.sources(ImportReferenceSourceItem... sources) The job's source files.The job's status.status(ReferenceImportJobStatus status) The job's status.statusMessage(String statusMessage) The job's status message.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.omics.model.OmicsResponse.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
-
id
The job's ID.
- Parameters:
id- The job's ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referenceStoreId
The job's reference store ID.
- Parameters:
referenceStoreId- The job's reference store ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The job's service role ARN.
- Parameters:
roleArn- The job's service role ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The job's status.
- Parameters:
status- The job's status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The job's status.
- Parameters:
status- The job's status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
The job's status message.
- Parameters:
statusMessage- The job's status message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
When the job was created.
- Parameters:
creationTime- When the job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completionTime
When the job completed.
- Parameters:
completionTime- When the job completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The job's source files.
- Parameters:
sources- The job's source files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The job's source files.
- Parameters:
sources- The job's source files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
GetReferenceImportJobResponse.Builder sources(Consumer<ImportReferenceSourceItem.Builder>... sources) The job's source files.
This is a convenience method that creates an instance of theImportReferenceSourceItem.Builderavoiding the need to create one manually viaImportReferenceSourceItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosources(List<ImportReferenceSourceItem>).- Parameters:
sources- a consumer that will call methods onImportReferenceSourceItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-