public static interface GetOnPremisesInstanceResponse.Builder extends CodeDeployResponse.Builder, CopyableBuilder<GetOnPremisesInstanceResponse.Builder,GetOnPremisesInstanceResponse>
Modifier and Type | Method and Description |
---|---|
default GetOnPremisesInstanceResponse.Builder |
instanceInfo(Consumer<InstanceInfo.Builder> instanceInfo)
Information about the on-premises instance.
|
GetOnPremisesInstanceResponse.Builder |
instanceInfo(InstanceInfo instanceInfo)
Information about the on-premises instance.
|
build
copy
apply, build
GetOnPremisesInstanceResponse.Builder instanceInfo(InstanceInfo instanceInfo)
Information about the on-premises instance.
instanceInfo
- Information about the on-premises instance.default GetOnPremisesInstanceResponse.Builder instanceInfo(Consumer<InstanceInfo.Builder> instanceInfo)
Information about the on-premises instance.
This is a convenience that creates an instance of theInstanceInfo.Builder
avoiding the need to
create one manually via InstanceInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to instanceInfo(InstanceInfo)
.instanceInfo
- a consumer that will call methods on InstanceInfo.Builder
instanceInfo(InstanceInfo)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.