Interface GetStaticIpResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetStaticIpResponse.Builder,
,GetStaticIpResponse> LightsailResponse.Builder
,SdkBuilder<GetStaticIpResponse.Builder,
,GetStaticIpResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetStaticIpResponse
public static interface GetStaticIpResponse.Builder
extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<GetStaticIpResponse.Builder,GetStaticIpResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetStaticIpResponse.Builder
staticIp
(Consumer<StaticIp.Builder> staticIp) An array of key-value pairs containing information about the requested static IP.An array of key-value pairs containing information about the requested static IP.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailResponse.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
-
staticIp
An array of key-value pairs containing information about the requested static IP.
- Parameters:
staticIp
- An array of key-value pairs containing information about the requested static IP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
staticIp
An array of key-value pairs containing information about the requested static IP.
This is a convenience method that creates an instance of theStaticIp.Builder
avoiding the need to create one manually viaStaticIp.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostaticIp(StaticIp)
.- Parameters:
staticIp
- a consumer that will call methods onStaticIp.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-