Interface DescribeAccountModificationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAccountModificationsResponse.Builder,,DescribeAccountModificationsResponse> SdkBuilder<DescribeAccountModificationsResponse.Builder,,DescribeAccountModificationsResponse> SdkPojo,SdkResponse.Builder,WorkSpacesResponse.Builder
- Enclosing class:
DescribeAccountModificationsResponse
@Mutable
@NotThreadSafe
public static interface DescribeAccountModificationsResponse.Builder
extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<DescribeAccountModificationsResponse.Builder,DescribeAccountModificationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccountModifications(Collection<AccountModification> accountModifications) The list of modifications to the configuration of BYOL.accountModifications(Consumer<AccountModification.Builder>... accountModifications) The list of modifications to the configuration of BYOL.accountModifications(AccountModification... accountModifications) The list of modifications to the configuration of BYOL.The token to use to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workspaces.model.WorkSpacesResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
accountModifications
DescribeAccountModificationsResponse.Builder accountModifications(Collection<AccountModification> accountModifications) The list of modifications to the configuration of BYOL.
- Parameters:
accountModifications- The list of modifications to the configuration of BYOL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountModifications
DescribeAccountModificationsResponse.Builder accountModifications(AccountModification... accountModifications) The list of modifications to the configuration of BYOL.
- Parameters:
accountModifications- The list of modifications to the configuration of BYOL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountModifications
DescribeAccountModificationsResponse.Builder accountModifications(Consumer<AccountModification.Builder>... accountModifications) The list of modifications to the configuration of BYOL.
This is a convenience method that creates an instance of theAccountModification.Builderavoiding the need to create one manually viaAccountModification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccountModifications(List<AccountModification>).- Parameters:
accountModifications- a consumer that will call methods onAccountModification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
- Parameters:
nextToken- The token to use to retrieve the next page of results. This value is null when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-