Interface GetComponentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetComponentResponse.Builder,,GetComponentResponse> ImagebuilderResponse.Builder,SdkBuilder<GetComponentResponse.Builder,,GetComponentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetComponentResponse
@Mutable
@NotThreadSafe
public static interface GetComponentResponse.Builder
extends ImagebuilderResponse.Builder, SdkPojo, CopyableBuilder<GetComponentResponse.Builder,GetComponentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetComponentResponse.Buildercomponent(Consumer<Component.Builder> component) The component object specified in the request.The component object specified in the request.The request ID that uniquely identifies this request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.imagebuilder.model.ImagebuilderResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
requestId
The request ID that uniquely identifies this request.
- Parameters:
requestIdValue- The request ID that uniquely identifies this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
component
The component object specified in the request.
- Parameters:
component- The component object specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
component
The component object specified in the request.
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:
-