Interface DescribeMacHostsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeMacHostsRequest.Builder,DescribeMacHostsRequest>
,Ec2Request.Builder
,SdkBuilder<DescribeMacHostsRequest.Builder,DescribeMacHostsRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- DescribeMacHostsRequest
public static interface DescribeMacHostsRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DescribeMacHostsRequest.Builder,DescribeMacHostsRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
filters
DescribeMacHostsRequest.Builder filters(Collection<Filter> filters)
The filters.
-
availability-zone
- The Availability Zone of the EC2 Mac Dedicated Host. -
instance-type
- The instance type size that the EC2 Mac Dedicated Host is configured to support.
- Parameters:
filters
- The filters.-
availability-zone
- The Availability Zone of the EC2 Mac Dedicated Host. -
instance-type
- The instance type size that the EC2 Mac Dedicated Host is configured to support.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
DescribeMacHostsRequest.Builder filters(Filter... filters)
The filters.
-
availability-zone
- The Availability Zone of the EC2 Mac Dedicated Host. -
instance-type
- The instance type size that the EC2 Mac Dedicated Host is configured to support.
- Parameters:
filters
- The filters.-
availability-zone
- The Availability Zone of the EC2 Mac Dedicated Host. -
instance-type
- The instance type size that the EC2 Mac Dedicated Host is configured to support.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
DescribeMacHostsRequest.Builder filters(Consumer<Filter.Builder>... filters)
The filters.
-
availability-zone
- The Availability Zone of the EC2 Mac Dedicated Host. -
instance-type
- The instance type size that the EC2 Mac Dedicated Host is configured to support.
Filter.Builder
avoiding the need to create one manually viaFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#filters(List
.) - Parameters:
filters
- a consumer that will call methods onFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection
)
-
-
hostIds
DescribeMacHostsRequest.Builder hostIds(Collection<String> hostIds)
The IDs of the EC2 Mac Dedicated Hosts.
- Parameters:
hostIds
- The IDs of the EC2 Mac Dedicated Hosts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostIds
DescribeMacHostsRequest.Builder hostIds(String... hostIds)
The IDs of the EC2 Mac Dedicated Hosts.
- Parameters:
hostIds
- The IDs of the EC2 Mac Dedicated Hosts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
DescribeMacHostsRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned
nextToken
value. This value can be between 5 and 500. IfmaxResults
is given a larger value than 500, you receive an error.- Parameters:
maxResults
- The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returnednextToken
value. This value can be between 5 and 500. IfmaxResults
is given a larger value than 500, you receive an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
DescribeMacHostsRequest.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.
-
overrideConfiguration
DescribeMacHostsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeMacHostsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-