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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetStaticIpResponse.BuilderstaticIp(Consumer<StaticIp.Builder> staticIp)An array of key-value pairs containing information about the requested static IP.GetStaticIpResponse.BuilderstaticIp(StaticIp staticIp)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 Detail
-
staticIp
GetStaticIpResponse.Builder staticIp(StaticIp 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
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 method that creates an instance of theStaticIp.Builderavoiding the need to create one manually viaStaticIp.builder().When the
Consumercompletes,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:
staticIp(StaticIp)
-
-