Interface CreateAppVersionAppComponentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateAppVersionAppComponentResponse.Builder,
,CreateAppVersionAppComponentResponse> ResiliencehubResponse.Builder
,SdkBuilder<CreateAppVersionAppComponentResponse.Builder,
,CreateAppVersionAppComponentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateAppVersionAppComponentResponse
public static interface CreateAppVersionAppComponentResponse.Builder
extends ResiliencehubResponse.Builder, SdkPojo, CopyableBuilder<CreateAppVersionAppComponentResponse.Builder,CreateAppVersionAppComponentResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAmazon Resource Name (ARN) of the Resilience Hub application.appComponent
(Consumer<AppComponent.Builder> appComponent) List of Application Components that belong to this resource.appComponent
(AppComponent appComponent) List of Application Components that belong to this resource.appVersion
(String appVersion) Resilience Hub application version.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, sdkFields
Methods 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.
-
appComponent
List of Application Components that belong to this resource.
- Parameters:
appComponent
- List of Application Components that belong to this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appComponent
default CreateAppVersionAppComponentResponse.Builder appComponent(Consumer<AppComponent.Builder> appComponent) List of Application Components that belong to this resource.
This is a convenience method that creates an instance of theAppComponent.Builder
avoiding the need to create one manually viaAppComponent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toappComponent(AppComponent)
.- Parameters:
appComponent
- a consumer that will call methods onAppComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
appVersion
Resilience Hub application version.
- Parameters:
appVersion
- Resilience Hub application version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-