Interface UpdateTypeResponse.Builder
- All Superinterfaces:
AppSyncResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateTypeResponse.Builder,
,UpdateTypeResponse> SdkBuilder<UpdateTypeResponse.Builder,
,UpdateTypeResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateTypeResponse
public static interface UpdateTypeResponse.Builder
extends AppSyncResponse.Builder, SdkPojo, CopyableBuilder<UpdateTypeResponse.Builder,UpdateTypeResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateTypeResponse.Builder
type
(Consumer<Type.Builder> type) The updatedType
object.The updatedType
object.Methods inherited from interface software.amazon.awssdk.services.appsync.model.AppSyncResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
type
The updated
Type
object.- Parameters:
type
- The updatedType
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The updated
This is a convenience method that creates an instance of theType
object.Type.Builder
avoiding the need to create one manually viaType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totype(Type)
.- Parameters:
type
- a consumer that will call methods onType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-