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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeMacHostsResponse.Builder
macHosts(Collection<MacHost> macHosts)
Information about the EC2 Mac Dedicated Hosts.DescribeMacHostsResponse.Builder
macHosts(Consumer<MacHost.Builder>... macHosts)
Information about the EC2 Mac Dedicated Hosts.DescribeMacHostsResponse.Builder
macHosts(MacHost... macHosts)
Information about the EC2 Mac Dedicated Hosts.DescribeMacHostsResponse.Builder
nextToken(String nextToken)
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 Detail
-
macHosts
DescribeMacHostsResponse.Builder macHosts(Collection<MacHost> 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
DescribeMacHostsResponse.Builder macHosts(MacHost... 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
DescribeMacHostsResponse.Builder macHosts(Consumer<MacHost.Builder>... 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 to#macHosts(List
.) - 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:
#macHosts(java.util.Collection
)
-
nextToken
DescribeMacHostsResponse.Builder nextToken(String 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.
-
-