public static interface GetStaticIpResponse.Builder extends LightsailResponse.Builder, CopyableBuilder<GetStaticIpResponse.Builder,GetStaticIpResponse>
Modifier and Type | Method and Description |
---|---|
default GetStaticIpResponse.Builder |
staticIp(Consumer<StaticIp.Builder> staticIp)
An array of key-value pairs containing information about the requested static IP.
|
GetStaticIpResponse.Builder |
staticIp(StaticIp staticIp)
An array of key-value pairs containing information about the requested static IP.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetStaticIpResponse.Builder staticIp(StaticIp staticIp)
An array of key-value pairs containing information about the requested static IP.
staticIp
- An array of key-value pairs containing information about the requested static IP.default GetStaticIpResponse.Builder staticIp(Consumer<StaticIp.Builder> staticIp)
An array of key-value pairs containing information about the requested static IP.
This is a convenience that creates an instance of theStaticIp.Builder
avoiding the need to create
one manually via StaticIp.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to staticIp(StaticIp)
.staticIp
- a consumer that will call methods on StaticIp.Builder
staticIp(StaticIp)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.