Interface RetrieveEnvironmentInfoResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<RetrieveEnvironmentInfoResponse.Builder,
,RetrieveEnvironmentInfoResponse> ElasticBeanstalkResponse.Builder
,SdkBuilder<RetrieveEnvironmentInfoResponse.Builder,
,RetrieveEnvironmentInfoResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
RetrieveEnvironmentInfoResponse
public static interface RetrieveEnvironmentInfoResponse.Builder
extends ElasticBeanstalkResponse.Builder, SdkPojo, CopyableBuilder<RetrieveEnvironmentInfoResponse.Builder,RetrieveEnvironmentInfoResponse>
-
Method Summary
Modifier and TypeMethodDescriptionenvironmentInfo
(Collection<EnvironmentInfoDescription> environmentInfo) The EnvironmentInfoDescription of the environment.environmentInfo
(Consumer<EnvironmentInfoDescription.Builder>... environmentInfo) The EnvironmentInfoDescription of the environment.environmentInfo
(EnvironmentInfoDescription... environmentInfo) The EnvironmentInfoDescription of the environment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.elasticbeanstalk.model.ElasticBeanstalkResponse.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 Details
-
environmentInfo
RetrieveEnvironmentInfoResponse.Builder environmentInfo(Collection<EnvironmentInfoDescription> environmentInfo) The EnvironmentInfoDescription of the environment.
- Parameters:
environmentInfo
- The EnvironmentInfoDescription of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentInfo
RetrieveEnvironmentInfoResponse.Builder environmentInfo(EnvironmentInfoDescription... environmentInfo) The EnvironmentInfoDescription of the environment.
- Parameters:
environmentInfo
- The EnvironmentInfoDescription of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentInfo
RetrieveEnvironmentInfoResponse.Builder environmentInfo(Consumer<EnvironmentInfoDescription.Builder>... environmentInfo) The EnvironmentInfoDescription of the environment.
This is a convenience method that creates an instance of theEnvironmentInfoDescription.Builder
avoiding the need to create one manually viaEnvironmentInfoDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toenvironmentInfo(List<EnvironmentInfoDescription>)
.- Parameters:
environmentInfo
- a consumer that will call methods onEnvironmentInfoDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-