Interface DescribeAppsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAppsResponse.Builder,
,DescribeAppsResponse> OpsWorksResponse.Builder
,SdkBuilder<DescribeAppsResponse.Builder,
,DescribeAppsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAppsResponse
public static interface DescribeAppsResponse.Builder
extends OpsWorksResponse.Builder, SdkPojo, CopyableBuilder<DescribeAppsResponse.Builder,DescribeAppsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapps
(Collection<App> apps) An array ofApp
objects that describe the specified apps.apps
(Consumer<App.Builder>... apps) An array ofApp
objects that describe the specified apps.An array ofApp
objects that describe the specified apps.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksResponse.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
-
apps
An array of
App
objects that describe the specified apps.- Parameters:
apps
- An array ofApp
objects that describe the specified apps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apps
An array of
App
objects that describe the specified apps.- Parameters:
apps
- An array ofApp
objects that describe the specified apps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apps
An array of
This is a convenience method that creates an instance of theApp
objects that describe the specified apps.App.Builder
avoiding the need to create one manually viaApp.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapps(List<App>)
.- Parameters:
apps
- 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:
-