Interface CreateComponentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateComponentResponse.Builder,,CreateComponentResponse> ProtonResponse.Builder,SdkBuilder<CreateComponentResponse.Builder,,CreateComponentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateComponentResponse
public static interface CreateComponentResponse.Builder
extends ProtonResponse.Builder, SdkPojo, CopyableBuilder<CreateComponentResponse.Builder,CreateComponentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateComponentResponse.Buildercomponent(Consumer<Component.Builder> component) The detailed data of the created component.The detailed data of the created component.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.proton.model.ProtonResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
component
The detailed data of the created component.
- Parameters:
component- The detailed data of the created component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
component
The detailed data of the created 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:
-