Interface SearchDevicesRequest.Builder
-
- All Superinterfaces:
AlexaForBusinessRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<SearchDevicesRequest.Builder,SearchDevicesRequest>,SdkBuilder<SearchDevicesRequest.Builder,SearchDevicesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- SearchDevicesRequest
public static interface SearchDevicesRequest.Builder extends AlexaForBusinessRequest.Builder, SdkPojo, CopyableBuilder<SearchDevicesRequest.Builder,SearchDevicesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchDevicesRequest.Builderfilters(Collection<Filter> filters)The filters to use to list a specified set of devices.SearchDevicesRequest.Builderfilters(Consumer<Filter.Builder>... filters)The filters to use to list a specified set of devices.SearchDevicesRequest.Builderfilters(Filter... filters)The filters to use to list a specified set of devices.SearchDevicesRequest.BuildermaxResults(Integer maxResults)The maximum number of results to include in the response.SearchDevicesRequest.BuildernextToken(String nextToken)An optional token returned from a prior request.SearchDevicesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SearchDevicesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)SearchDevicesRequest.BuildersortCriteria(Collection<Sort> sortCriteria)The sort order to use in listing the specified set of devices.SearchDevicesRequest.BuildersortCriteria(Consumer<Sort.Builder>... sortCriteria)The sort order to use in listing the specified set of devices.SearchDevicesRequest.BuildersortCriteria(Sort... sortCriteria)The sort order to use in listing the specified set of devices.-
Methods inherited from interface software.amazon.awssdk.services.alexaforbusiness.model.AlexaForBusinessRequest.Builder
build
-
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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
nextToken
SearchDevicesRequest.Builder nextToken(String nextToken)
An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by
MaxResults.- Parameters:
nextToken- An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified byMaxResults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
SearchDevicesRequest.Builder maxResults(Integer maxResults)
The maximum number of results to include in the response. If more results exist than the specified
MaxResultsvalue, a token is included in the response so that the remaining results can be retrieved.- Parameters:
maxResults- The maximum number of results to include in the response. If more results exist than the specifiedMaxResultsvalue, a token is included in the response so that the remaining results can be retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
SearchDevicesRequest.Builder filters(Collection<Filter> filters)
The filters to use to list a specified set of devices. Supported filter keys are DeviceName, DeviceStatus, DeviceStatusDetailCode, RoomName, DeviceType, DeviceSerialNumber, UnassociatedOnly, ConnectionStatus (ONLINE and OFFLINE), NetworkProfileName, NetworkProfileArn, Feature, and FailureCode.
- Parameters:
filters- The filters to use to list a specified set of devices. Supported filter keys are DeviceName, DeviceStatus, DeviceStatusDetailCode, RoomName, DeviceType, DeviceSerialNumber, UnassociatedOnly, ConnectionStatus (ONLINE and OFFLINE), NetworkProfileName, NetworkProfileArn, Feature, and FailureCode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
SearchDevicesRequest.Builder filters(Filter... filters)
The filters to use to list a specified set of devices. Supported filter keys are DeviceName, DeviceStatus, DeviceStatusDetailCode, RoomName, DeviceType, DeviceSerialNumber, UnassociatedOnly, ConnectionStatus (ONLINE and OFFLINE), NetworkProfileName, NetworkProfileArn, Feature, and FailureCode.
- Parameters:
filters- The filters to use to list a specified set of devices. Supported filter keys are DeviceName, DeviceStatus, DeviceStatusDetailCode, RoomName, DeviceType, DeviceSerialNumber, UnassociatedOnly, ConnectionStatus (ONLINE and OFFLINE), NetworkProfileName, NetworkProfileArn, Feature, and FailureCode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
SearchDevicesRequest.Builder filters(Consumer<Filter.Builder>... filters)
The filters to use to list a specified set of devices. Supported filter keys are DeviceName, DeviceStatus, DeviceStatusDetailCode, RoomName, DeviceType, DeviceSerialNumber, UnassociatedOnly, ConnectionStatus (ONLINE and OFFLINE), NetworkProfileName, NetworkProfileArn, Feature, and FailureCode.
This is a convenience method that creates an instance of theFilter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,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)
-
sortCriteria
SearchDevicesRequest.Builder sortCriteria(Collection<Sort> sortCriteria)
The sort order to use in listing the specified set of devices. Supported sort keys are DeviceName, DeviceStatus, RoomName, DeviceType, DeviceSerialNumber, ConnectionStatus, NetworkProfileName, NetworkProfileArn, Feature, and FailureCode.
- Parameters:
sortCriteria- The sort order to use in listing the specified set of devices. Supported sort keys are DeviceName, DeviceStatus, RoomName, DeviceType, DeviceSerialNumber, ConnectionStatus, NetworkProfileName, NetworkProfileArn, Feature, and FailureCode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
SearchDevicesRequest.Builder sortCriteria(Sort... sortCriteria)
The sort order to use in listing the specified set of devices. Supported sort keys are DeviceName, DeviceStatus, RoomName, DeviceType, DeviceSerialNumber, ConnectionStatus, NetworkProfileName, NetworkProfileArn, Feature, and FailureCode.
- Parameters:
sortCriteria- The sort order to use in listing the specified set of devices. Supported sort keys are DeviceName, DeviceStatus, RoomName, DeviceType, DeviceSerialNumber, ConnectionStatus, NetworkProfileName, NetworkProfileArn, Feature, and FailureCode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
SearchDevicesRequest.Builder sortCriteria(Consumer<Sort.Builder>... sortCriteria)
The sort order to use in listing the specified set of devices. Supported sort keys are DeviceName, DeviceStatus, RoomName, DeviceType, DeviceSerialNumber, ConnectionStatus, NetworkProfileName, NetworkProfileArn, Feature, and FailureCode.
This is a convenience method that creates an instance of theSort.Builderavoiding the need to create one manually viaSort.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sortCriteria(List.) - Parameters:
sortCriteria- a consumer that will call methods onSort.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#sortCriteria(java.util.Collection)
-
overrideConfiguration
SearchDevicesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SearchDevicesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-