Interface GetTypeResponse.Builder
-
- All Superinterfaces:
AppSyncResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetTypeResponse.Builder,GetTypeResponse>,SdkBuilder<GetTypeResponse.Builder,GetTypeResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetTypeResponse
public static interface GetTypeResponse.Builder extends AppSyncResponse.Builder, SdkPojo, CopyableBuilder<GetTypeResponse.Builder,GetTypeResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetTypeResponse.Buildertype(Consumer<Type.Builder> type)TheTypeobject.GetTypeResponse.Buildertype(Type type)TheTypeobject.-
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 Detail
-
type
GetTypeResponse.Builder type(Type type)
The
Typeobject.- Parameters:
type- TheTypeobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
default GetTypeResponse.Builder type(Consumer<Type.Builder> type)
The
This is a convenience method that creates an instance of theTypeobject.Type.Builderavoiding the need to create one manually viaType.builder().When the
Consumercompletes,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:
type(Type)
-
-