Interface GetOnPremisesInstanceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeDeployResponse.Builder,CopyableBuilder<GetOnPremisesInstanceResponse.Builder,GetOnPremisesInstanceResponse>,SdkBuilder<GetOnPremisesInstanceResponse.Builder,GetOnPremisesInstanceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetOnPremisesInstanceResponse
public static interface GetOnPremisesInstanceResponse.Builder extends CodeDeployResponse.Builder, SdkPojo, CopyableBuilder<GetOnPremisesInstanceResponse.Builder,GetOnPremisesInstanceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetOnPremisesInstanceResponse.BuilderinstanceInfo(Consumer<InstanceInfo.Builder> instanceInfo)Information about the on-premises instance.GetOnPremisesInstanceResponse.BuilderinstanceInfo(InstanceInfo instanceInfo)Information about the on-premises instance.-
Methods inherited from interface software.amazon.awssdk.services.codedeploy.model.CodeDeployResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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 Detail
-
instanceInfo
GetOnPremisesInstanceResponse.Builder instanceInfo(InstanceInfo instanceInfo)
Information about the on-premises instance.
- Parameters:
instanceInfo- Information about the on-premises instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceInfo
default GetOnPremisesInstanceResponse.Builder instanceInfo(Consumer<InstanceInfo.Builder> instanceInfo)
Information about the on-premises instance.
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 toinstanceInfo(InstanceInfo).- Parameters:
instanceInfo- 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:
instanceInfo(InstanceInfo)
-
-