Interface ListActivityTypesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListActivityTypesResponse.Builder,ListActivityTypesResponse>,SdkBuilder<ListActivityTypesResponse.Builder,ListActivityTypesResponse>,SdkPojo,SdkResponse.Builder,SwfResponse.Builder
- Enclosing class:
- ListActivityTypesResponse
public static interface ListActivityTypesResponse.Builder extends SwfResponse.Builder, SdkPojo, CopyableBuilder<ListActivityTypesResponse.Builder,ListActivityTypesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListActivityTypesResponse.BuildernextPageToken(String nextPageToken)If aNextPageTokenwas returned by a previous call, there are more results available.ListActivityTypesResponse.BuildertypeInfos(Collection<ActivityTypeInfo> typeInfos)List of activity type information.ListActivityTypesResponse.BuildertypeInfos(Consumer<ActivityTypeInfo.Builder>... typeInfos)List of activity type information.ListActivityTypesResponse.BuildertypeInfos(ActivityTypeInfo... typeInfos)List of activity type information.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.swf.model.SwfResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
typeInfos
ListActivityTypesResponse.Builder typeInfos(Collection<ActivityTypeInfo> typeInfos)
List of activity type information.
- Parameters:
typeInfos- List of activity type information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typeInfos
ListActivityTypesResponse.Builder typeInfos(ActivityTypeInfo... typeInfos)
List of activity type information.
- Parameters:
typeInfos- List of activity type information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typeInfos
ListActivityTypesResponse.Builder typeInfos(Consumer<ActivityTypeInfo.Builder>... typeInfos)
List of activity type information.
This is a convenience method that creates an instance of theActivityTypeInfo.Builderavoiding the need to create one manually viaActivityTypeInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#typeInfos(List.) - Parameters:
typeInfos- a consumer that will call methods onActivityTypeInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#typeInfos(java.util.Collection)
-
nextPageToken
ListActivityTypesResponse.Builder nextPageToken(String nextPageToken)
If a
NextPageTokenwas returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token innextPageToken. Keep all other arguments unchanged.The configured
maximumPageSizedetermines how many results can be returned in a single call.- Parameters:
nextPageToken- If aNextPageTokenwas returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token innextPageToken. Keep all other arguments unchanged.The configured
maximumPageSizedetermines how many results can be returned in a single call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-