Interface DescribeMacHostsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeMacHostsResponse.Builder,
,DescribeMacHostsResponse> Ec2Response.Builder
,SdkBuilder<DescribeMacHostsResponse.Builder,
,DescribeMacHostsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeMacHostsResponse
public static interface DescribeMacHostsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeMacHostsResponse.Builder,DescribeMacHostsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmacHosts
(Collection<MacHost> macHosts) Information about the EC2 Mac Dedicated Hosts.macHosts
(Consumer<MacHost.Builder>... macHosts) Information about the EC2 Mac Dedicated Hosts.Information about the EC2 Mac Dedicated Hosts.The token to use to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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
-
macHosts
Information about the EC2 Mac Dedicated Hosts.
- Parameters:
macHosts
- Information about the EC2 Mac Dedicated Hosts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
macHosts
Information about the EC2 Mac Dedicated Hosts.
- Parameters:
macHosts
- Information about the EC2 Mac Dedicated Hosts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
macHosts
Information about the EC2 Mac Dedicated Hosts.
This is a convenience method that creates an instance of theMacHost.Builder
avoiding the need to create one manually viaMacHost.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomacHosts(List<MacHost>)
.- Parameters:
macHosts
- a consumer that will call methods onMacHost.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results.
- Parameters:
nextToken
- The token to use to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-