Interface ListRotationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRotationsResponse.Builder,ListRotationsResponse>,SdkBuilder<ListRotationsResponse.Builder,ListRotationsResponse>,SdkPojo,SdkResponse.Builder,SsmContactsResponse.Builder
- Enclosing class:
- ListRotationsResponse
public static interface ListRotationsResponse.Builder extends SsmContactsResponse.Builder, SdkPojo, CopyableBuilder<ListRotationsResponse.Builder,ListRotationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRotationsResponse.BuildernextToken(String nextToken)The token for the next set of items to return.ListRotationsResponse.Builderrotations(Collection<Rotation> rotations)Information about rotations that meet the filter criteria.ListRotationsResponse.Builderrotations(Consumer<Rotation.Builder>... rotations)Information about rotations that meet the filter criteria.ListRotationsResponse.Builderrotations(Rotation... rotations)Information about rotations that meet the filter criteria.-
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.ssmcontacts.model.SsmContactsResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
nextToken
ListRotationsResponse.Builder nextToken(String nextToken)
The token for the next set of items to return. Use this token to get the next set of results.
- Parameters:
nextToken- The token for the next set of items to return. Use this token to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rotations
ListRotationsResponse.Builder rotations(Collection<Rotation> rotations)
Information about rotations that meet the filter criteria.
- Parameters:
rotations- Information about rotations that meet the filter criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rotations
ListRotationsResponse.Builder rotations(Rotation... rotations)
Information about rotations that meet the filter criteria.
- Parameters:
rotations- Information about rotations that meet the filter criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rotations
ListRotationsResponse.Builder rotations(Consumer<Rotation.Builder>... rotations)
Information about rotations that meet the filter criteria.
This is a convenience method that creates an instance of theRotation.Builderavoiding the need to create one manually viaRotation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#rotations(List.) - Parameters:
rotations- a consumer that will call methods onRotation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#rotations(java.util.Collection)
-
-