Interface GetServiceViewResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetServiceViewResponse.Builder,
,GetServiceViewResponse> ResourceExplorer2Response.Builder
,SdkBuilder<GetServiceViewResponse.Builder,
,GetServiceViewResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetServiceViewResponse
@Mutable
@NotThreadSafe
public static interface GetServiceViewResponse.Builder
extends ResourceExplorer2Response.Builder, SdkPojo, CopyableBuilder<GetServiceViewResponse.Builder,GetServiceViewResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetServiceViewResponse.Builder
view
(Consumer<ServiceView.Builder> view) AServiceView
object that contains the details and configuration of the requested service view.view
(ServiceView view) AServiceView
object that contains the details and configuration of the requested service view.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.resourceexplorer2.model.ResourceExplorer2Response.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
view
A
ServiceView
object that contains the details and configuration of the requested service view.- Parameters:
view
- AServiceView
object that contains the details and configuration of the requested service view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
view
A
This is a convenience method that creates an instance of theServiceView
object that contains the details and configuration of the requested service view.ServiceView.Builder
avoiding the need to create one manually viaServiceView.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toview(ServiceView)
.- Parameters:
view
- a consumer that will call methods onServiceView.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-