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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetAssociatedResourceResponse.Builderresource(Consumer<Resource.Builder> resource)The resource associated with the application.GetAssociatedResourceResponse.Builderresource(Resource resource)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 Detail
-
resource
GetAssociatedResourceResponse.Builder resource(Resource 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
default GetAssociatedResourceResponse.Builder resource(Consumer<Resource.Builder> resource)
The resource associated with the application.
This is a convenience method that creates an instance of theResource.Builderavoiding the need to create one manually viaResource.builder().When the
Consumercompletes,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:
resource(Resource)
-
-