Interface DescribeDraftAppVersionResourcesImportStatusResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeDraftAppVersionResourcesImportStatusResponse.Builder,DescribeDraftAppVersionResourcesImportStatusResponse>,ResiliencehubResponse.Builder,SdkBuilder<DescribeDraftAppVersionResourcesImportStatusResponse.Builder,DescribeDraftAppVersionResourcesImportStatusResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeDraftAppVersionResourcesImportStatusResponse
public static interface DescribeDraftAppVersionResourcesImportStatusResponse.Builder extends ResiliencehubResponse.Builder, SdkPojo, CopyableBuilder<DescribeDraftAppVersionResourcesImportStatusResponse.Builder,DescribeDraftAppVersionResourcesImportStatusResponse>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.resiliencehub.model.ResiliencehubResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
appArn
DescribeDraftAppVersionResourcesImportStatusResponse.Builder appArn(String 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
DescribeDraftAppVersionResourcesImportStatusResponse.Builder appVersion(String 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 to#errorDetails(List.) - 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:
#errorDetails(java.util.Collection)
-
errorMessage
DescribeDraftAppVersionResourcesImportStatusResponse.Builder errorMessage(String 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
DescribeDraftAppVersionResourcesImportStatusResponse.Builder status(String 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:
ResourceImportStatusType,ResourceImportStatusType
-
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:
ResourceImportStatusType,ResourceImportStatusType
-
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.
-
-