Interface SearchHoursOfOperationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<SearchHoursOfOperationsResponse.Builder,SearchHoursOfOperationsResponse>,SdkBuilder<SearchHoursOfOperationsResponse.Builder,SearchHoursOfOperationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- SearchHoursOfOperationsResponse
public static interface SearchHoursOfOperationsResponse.Builder extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<SearchHoursOfOperationsResponse.Builder,SearchHoursOfOperationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchHoursOfOperationsResponse.BuilderapproximateTotalCount(Long approximateTotalCount)The total number of hours of operations which matched your search query.SearchHoursOfOperationsResponse.BuilderhoursOfOperations(Collection<HoursOfOperation> hoursOfOperations)Information about the hours of operations.SearchHoursOfOperationsResponse.BuilderhoursOfOperations(Consumer<HoursOfOperation.Builder>... hoursOfOperations)Information about the hours of operations.SearchHoursOfOperationsResponse.BuilderhoursOfOperations(HoursOfOperation... hoursOfOperations)Information about the hours of operations.SearchHoursOfOperationsResponse.BuildernextToken(String nextToken)If there are additional results, this is the token for the next set of results.-
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
hoursOfOperations
SearchHoursOfOperationsResponse.Builder hoursOfOperations(Collection<HoursOfOperation> hoursOfOperations)
Information about the hours of operations.
- Parameters:
hoursOfOperations- Information about the hours of operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hoursOfOperations
SearchHoursOfOperationsResponse.Builder hoursOfOperations(HoursOfOperation... hoursOfOperations)
Information about the hours of operations.
- Parameters:
hoursOfOperations- Information about the hours of operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hoursOfOperations
SearchHoursOfOperationsResponse.Builder hoursOfOperations(Consumer<HoursOfOperation.Builder>... hoursOfOperations)
Information about the hours of operations.
This is a convenience method that creates an instance of theHoursOfOperation.Builderavoiding the need to create one manually viaHoursOfOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#hoursOfOperations(List.) - Parameters:
hoursOfOperations- a consumer that will call methods onHoursOfOperation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#hoursOfOperations(java.util.Collection)
-
nextToken
SearchHoursOfOperationsResponse.Builder nextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approximateTotalCount
SearchHoursOfOperationsResponse.Builder approximateTotalCount(Long approximateTotalCount)
The total number of hours of operations which matched your search query.
- Parameters:
approximateTotalCount- The total number of hours of operations which matched your search query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-