Interface ListPermissionAssociationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPermissionAssociationsResponse.Builder,ListPermissionAssociationsResponse>,RamResponse.Builder,SdkBuilder<ListPermissionAssociationsResponse.Builder,ListPermissionAssociationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListPermissionAssociationsResponse
public static interface ListPermissionAssociationsResponse.Builder extends RamResponse.Builder, SdkPojo, CopyableBuilder<ListPermissionAssociationsResponse.Builder,ListPermissionAssociationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPermissionAssociationsResponse.BuildernextToken(String nextToken)If present, this value indicates that more output is available than is included in the current response.ListPermissionAssociationsResponse.Builderpermissions(Collection<AssociatedPermission> permissions)A structure with information about this customer managed permission.ListPermissionAssociationsResponse.Builderpermissions(Consumer<AssociatedPermission.Builder>... permissions)A structure with information about this customer managed permission.ListPermissionAssociationsResponse.Builderpermissions(AssociatedPermission... permissions)A structure with information about this customer managed permission.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ram.model.RamResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
permissions
ListPermissionAssociationsResponse.Builder permissions(Collection<AssociatedPermission> permissions)
A structure with information about this customer managed permission.
- Parameters:
permissions- A structure with information about this customer managed permission.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
ListPermissionAssociationsResponse.Builder permissions(AssociatedPermission... permissions)
A structure with information about this customer managed permission.
- Parameters:
permissions- A structure with information about this customer managed permission.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
ListPermissionAssociationsResponse.Builder permissions(Consumer<AssociatedPermission.Builder>... permissions)
A structure with information about this customer managed permission.
This is a convenience method that creates an instance of theAssociatedPermission.Builderavoiding the need to create one manually viaAssociatedPermission.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#permissions(List.) - Parameters:
permissions- a consumer that will call methods onAssociatedPermission.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#permissions(java.util.Collection)
-
nextToken
ListPermissionAssociationsResponse.Builder nextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response. Use this value in the
NextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextTokenresponse element comes back asnull. This indicates that this is the last page of results.- Parameters:
nextToken- If present, this value indicates that more output is available than is included in the current response. Use this value in theNextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextTokenresponse element comes back asnull. This indicates that this is the last page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-