Interface DescribeActivitiesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeActivitiesResponse.Builder,
,DescribeActivitiesResponse> SdkBuilder<DescribeActivitiesResponse.Builder,
,DescribeActivitiesResponse> SdkPojo
,SdkResponse.Builder
,WorkDocsResponse.Builder
- Enclosing class:
DescribeActivitiesResponse
public static interface DescribeActivitiesResponse.Builder
extends WorkDocsResponse.Builder, SdkPojo, CopyableBuilder<DescribeActivitiesResponse.Builder,DescribeActivitiesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe marker for the next set of results.userActivities
(Collection<Activity> userActivities) The list of activities for the specified user and time period.userActivities
(Consumer<Activity.Builder>... userActivities) The list of activities for the specified user and time period.userActivities
(Activity... userActivities) The list of activities for the specified user and time period.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
Methods inherited from interface software.amazon.awssdk.services.workdocs.model.WorkDocsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
userActivities
The list of activities for the specified user and time period.
- Parameters:
userActivities
- The list of activities for the specified user and time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userActivities
The list of activities for the specified user and time period.
- Parameters:
userActivities
- The list of activities for the specified user and time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userActivities
The list of activities for the specified user and time period.
This is a convenience method that creates an instance of theActivity.Builder
avoiding the need to create one manually viaActivity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserActivities(List<Activity>)
.- Parameters:
userActivities
- a consumer that will call methods onActivity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
marker
The marker for the next set of results.
- Parameters:
marker
- The marker for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-