Interface GetAssociatedResourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetAssociatedResourceResponse.Builder,
,GetAssociatedResourceResponse> SdkBuilder<GetAssociatedResourceResponse.Builder,
,GetAssociatedResourceResponse> SdkPojo
,SdkResponse.Builder
,ServiceCatalogAppRegistryResponse.Builder
- Enclosing class:
GetAssociatedResourceResponse
public static interface GetAssociatedResourceResponse.Builder
extends ServiceCatalogAppRegistryResponse.Builder, SdkPojo, CopyableBuilder<GetAssociatedResourceResponse.Builder,GetAssociatedResourceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionresource
(Consumer<Resource.Builder> resource) The resource associated with the application.The resource associated with the application.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
Methods inherited from interface software.amazon.awssdk.services.servicecatalogappregistry.model.ServiceCatalogAppRegistryResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
resource
The resource associated with the application.
- Parameters:
resource
- The resource associated with the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
The resource associated with the application.
This is a convenience method that creates an instance of theResource.Builder
avoiding the need to create one manually viaResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresource(Resource)
.- Parameters:
resource
- a consumer that will call methods onResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-