Interface DescribeElasticIpsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeElasticIpsResponse.Builder,
,DescribeElasticIpsResponse> OpsWorksResponse.Builder
,SdkBuilder<DescribeElasticIpsResponse.Builder,
,DescribeElasticIpsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeElasticIpsResponse
public static interface DescribeElasticIpsResponse.Builder
extends OpsWorksResponse.Builder, SdkPojo, CopyableBuilder<DescribeElasticIpsResponse.Builder,DescribeElasticIpsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionelasticIps
(Collection<ElasticIp> elasticIps) AnElasticIps
object that describes the specified Elastic IP addresses.elasticIps
(Consumer<ElasticIp.Builder>... elasticIps) AnElasticIps
object that describes the specified Elastic IP addresses.elasticIps
(ElasticIp... elasticIps) AnElasticIps
object that describes the specified Elastic IP addresses.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksResponse.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
-
elasticIps
An
ElasticIps
object that describes the specified Elastic IP addresses.- Parameters:
elasticIps
- AnElasticIps
object that describes the specified Elastic IP addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elasticIps
An
ElasticIps
object that describes the specified Elastic IP addresses.- Parameters:
elasticIps
- AnElasticIps
object that describes the specified Elastic IP addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elasticIps
An
This is a convenience method that creates an instance of theElasticIps
object that describes the specified Elastic IP addresses.ElasticIp.Builder
avoiding the need to create one manually viaElasticIp.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toelasticIps(List<ElasticIp>)
.- Parameters:
elasticIps
- a consumer that will call methods onElasticIp.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-