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.BuilderstaticIp(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
copyMethods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.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:
-