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 ofAppobjects that describe the specified apps.apps(Consumer<App.Builder>... apps) An array ofAppobjects that describe the specified apps.An array ofAppobjects that describe the specified apps.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksResponse.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
-
apps
An array of
Appobjects that describe the specified apps.- Parameters:
apps- An array ofAppobjects that describe the specified apps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apps
An array of
Appobjects that describe the specified apps.- Parameters:
apps- An array ofAppobjects 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 theAppobjects that describe the specified apps.App.Builderavoiding the need to create one manually viaApp.builder().When the
Consumercompletes,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:
-