Interface GetInfrastructureConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetInfrastructureConfigurationResponse.Builder,,GetInfrastructureConfigurationResponse> ImagebuilderResponse.Builder,SdkBuilder<GetInfrastructureConfigurationResponse.Builder,,GetInfrastructureConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetInfrastructureConfigurationResponse
@Mutable
@NotThreadSafe
public static interface GetInfrastructureConfigurationResponse.Builder
extends ImagebuilderResponse.Builder, SdkPojo, CopyableBuilder<GetInfrastructureConfigurationResponse.Builder,GetInfrastructureConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninfrastructureConfiguration(Consumer<InfrastructureConfiguration.Builder> infrastructureConfiguration) The infrastructure configuration object.infrastructureConfiguration(InfrastructureConfiguration infrastructureConfiguration) The infrastructure configuration object.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.
-
infrastructureConfiguration
GetInfrastructureConfigurationResponse.Builder infrastructureConfiguration(InfrastructureConfiguration infrastructureConfiguration) The infrastructure configuration object.
- Parameters:
infrastructureConfiguration- The infrastructure configuration object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
infrastructureConfiguration
default GetInfrastructureConfigurationResponse.Builder infrastructureConfiguration(Consumer<InfrastructureConfiguration.Builder> infrastructureConfiguration) The infrastructure configuration object.
This is a convenience method that creates an instance of theInfrastructureConfiguration.Builderavoiding the need to create one manually viaInfrastructureConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinfrastructureConfiguration(InfrastructureConfiguration).- Parameters:
infrastructureConfiguration- a consumer that will call methods onInfrastructureConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-