Interface DescribeDraftAppVersionResourcesImportStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeDraftAppVersionResourcesImportStatusResponse.Builder,,DescribeDraftAppVersionResourcesImportStatusResponse> ResiliencehubResponse.Builder,SdkBuilder<DescribeDraftAppVersionResourcesImportStatusResponse.Builder,,DescribeDraftAppVersionResourcesImportStatusResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeDraftAppVersionResourcesImportStatusResponse
-
Method Summary
Modifier and TypeMethodDescriptionAmazon Resource Name (ARN) of the Resilience Hub application.appVersion(String appVersion) The version of the application.errorDetails(Collection<ErrorDetail> errorDetails) List of errors that were encountered while importing resources.errorDetails(Consumer<ErrorDetail.Builder>... errorDetails) List of errors that were encountered while importing resources.errorDetails(ErrorDetail... errorDetails) List of errors that were encountered while importing resources.errorMessage(String errorMessage) The error message returned for the resource request.Status of the action.status(ResourceImportStatusType status) Status of the action.statusChangeTime(Instant statusChangeTime) The time when the status last changed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.resiliencehub.model.ResiliencehubResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
appArn
Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:
partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.- Parameters:
appArn- Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appVersion
The version of the application.
- Parameters:
appVersion- The version of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
DescribeDraftAppVersionResourcesImportStatusResponse.Builder errorDetails(Collection<ErrorDetail> errorDetails) List of errors that were encountered while importing resources.
- Parameters:
errorDetails- List of errors that were encountered while importing resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
DescribeDraftAppVersionResourcesImportStatusResponse.Builder errorDetails(ErrorDetail... errorDetails) List of errors that were encountered while importing resources.
- Parameters:
errorDetails- List of errors that were encountered while importing resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
DescribeDraftAppVersionResourcesImportStatusResponse.Builder errorDetails(Consumer<ErrorDetail.Builder>... errorDetails) List of errors that were encountered while importing resources.
This is a convenience method that creates an instance of theErrorDetail.Builderavoiding the need to create one manually viaErrorDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrorDetails(List<ErrorDetail>).- Parameters:
errorDetails- a consumer that will call methods onErrorDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorMessage
The error message returned for the resource request.
- Parameters:
errorMessage- The error message returned for the resource request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Status of the action.
- Parameters:
status- Status of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
DescribeDraftAppVersionResourcesImportStatusResponse.Builder status(ResourceImportStatusType status) Status of the action.
- Parameters:
status- Status of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusChangeTime
DescribeDraftAppVersionResourcesImportStatusResponse.Builder statusChangeTime(Instant statusChangeTime) The time when the status last changed.
- Parameters:
statusChangeTime- The time when the status last changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-