Interface CreateAppResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateAppResponse.Builder,CreateAppResponse>,ResiliencehubResponse.Builder,SdkBuilder<CreateAppResponse.Builder,CreateAppResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateAppResponse
public static interface CreateAppResponse.Builder extends ResiliencehubResponse.Builder, SdkPojo, CopyableBuilder<CreateAppResponse.Builder,CreateAppResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateAppResponse.Builderapp(Consumer<App.Builder> app)The created application returned as an object with details including compliance status, creation time, description, resiliency score, and more.CreateAppResponse.Builderapp(App app)The created application returned as an object with details including compliance status, creation time, description, resiliency score, and more.-
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 Detail
-
app
CreateAppResponse.Builder app(App app)
The created application returned as an object with details including compliance status, creation time, description, resiliency score, and more.
- Parameters:
app- The created application returned as an object with details including compliance status, creation time, description, resiliency score, and more.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
app
default CreateAppResponse.Builder app(Consumer<App.Builder> app)
The created application returned as an object with details including compliance status, creation time, description, resiliency score, and more.
This is a convenience method that creates an instance of theApp.Builderavoiding the need to create one manually viaApp.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapp(App).- Parameters:
app- a consumer that will call methods onApp.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
app(App)
-
-