Interface UpdateComponentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateComponentResponse.Builder,UpdateComponentResponse>,ProtonResponse.Builder,SdkBuilder<UpdateComponentResponse.Builder,UpdateComponentResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateComponentResponse
public static interface UpdateComponentResponse.Builder extends ProtonResponse.Builder, SdkPojo, CopyableBuilder<UpdateComponentResponse.Builder,UpdateComponentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateComponentResponse.Buildercomponent(Consumer<Component.Builder> component)The detailed data of the updated component.UpdateComponentResponse.Buildercomponent(Component component)The detailed data of the updated component.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.proton.model.ProtonResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
component
UpdateComponentResponse.Builder component(Component component)
The detailed data of the updated component.
- Parameters:
component- The detailed data of the updated component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
component
default UpdateComponentResponse.Builder component(Consumer<Component.Builder> component)
The detailed data of the updated component.
This is a convenience method that creates an instance of theComponent.Builderavoiding the need to create one manually viaComponent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocomponent(Component).- Parameters:
component- a consumer that will call methods onComponent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
component(Component)
-
-