Interface CreateEnvironmentHostResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateEnvironmentHostResponse.Builder,,CreateEnvironmentHostResponse> EvsResponse.Builder,SdkBuilder<CreateEnvironmentHostResponse.Builder,,CreateEnvironmentHostResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateEnvironmentHostResponse
@Mutable
@NotThreadSafe
public static interface CreateEnvironmentHostResponse.Builder
extends EvsResponse.Builder, SdkPojo, CopyableBuilder<CreateEnvironmentHostResponse.Builder,CreateEnvironmentHostResponse>
-
Method Summary
Modifier and TypeMethodDescriptionenvironmentSummary(Consumer<EnvironmentSummary.Builder> environmentSummary) A summary of the environment that the host is created in.environmentSummary(EnvironmentSummary environmentSummary) A summary of the environment that the host is created in.host(Consumer<Host.Builder> host) A description of the created host.A description of the created host.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.evs.model.EvsResponse.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
-
environmentSummary
A summary of the environment that the host is created in.
- Parameters:
environmentSummary- A summary of the environment that the host is created in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentSummary
default CreateEnvironmentHostResponse.Builder environmentSummary(Consumer<EnvironmentSummary.Builder> environmentSummary) A summary of the environment that the host is created in.
This is a convenience method that creates an instance of theEnvironmentSummary.Builderavoiding the need to create one manually viaEnvironmentSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenvironmentSummary(EnvironmentSummary).- Parameters:
environmentSummary- a consumer that will call methods onEnvironmentSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
host
A description of the created host.
- Parameters:
host- A description of the created host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
host
A description of the created host.
This is a convenience method that creates an instance of theHost.Builderavoiding the need to create one manually viaHost.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohost(Host).- Parameters:
host- a consumer that will call methods onHost.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-