Interface BatchGetOnPremisesInstancesResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CodeDeployResponse.Builder,CopyableBuilder<BatchGetOnPremisesInstancesResponse.Builder,,BatchGetOnPremisesInstancesResponse> SdkBuilder<BatchGetOnPremisesInstancesResponse.Builder,,BatchGetOnPremisesInstancesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 BatchGetOnPremisesInstancesResponse
public static interface BatchGetOnPremisesInstancesResponse.Builder
extends CodeDeployResponse.Builder, SdkPojo, CopyableBuilder<BatchGetOnPremisesInstancesResponse.Builder,BatchGetOnPremisesInstancesResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptioninstanceInfos(Collection<InstanceInfo> instanceInfos) Information about the on-premises instances.instanceInfos(Consumer<InstanceInfo.Builder>... instanceInfos) Information about the on-premises instances.instanceInfos(InstanceInfo... instanceInfos) Information about the on-premises instances.Methods inherited from interface software.amazon.awssdk.services.codedeploy.model.CodeDeployResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
- 
instanceInfos
Information about the on-premises instances.
- Parameters:
 instanceInfos- Information about the on-premises instances.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
instanceInfos
Information about the on-premises instances.
- Parameters:
 instanceInfos- Information about the on-premises instances.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
instanceInfos
BatchGetOnPremisesInstancesResponse.Builder instanceInfos(Consumer<InstanceInfo.Builder>... instanceInfos) Information about the on-premises instances.
This is a convenience method that creates an instance of theInstanceInfo.Builderavoiding the need to create one manually viaInstanceInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstanceInfos(List<InstanceInfo>).- Parameters:
 instanceInfos- a consumer that will call methods onInstanceInfo.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -