Interface ListMembershipsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListMembershipsRequest.Builder,,ListMembershipsRequest> DeadlineRequest.Builder,SdkBuilder<ListMembershipsRequest.Builder,,ListMembershipsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListMembershipsRequest
-
Method Summary
Modifier and TypeMethodDescriptionidentityCenterRegion(String identityCenterRegion) The Region of the IAM Identity Center instance.identityStoreId(String identityStoreId) The identity store ID that contains the principal.maxResults(Integer maxResults) The maximum number of results to return.The token for the next set of results, ornullto start from the beginning.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.principalId(String principalId) The ID of the IAM Identity Center principal whose Deadline Cloud resource memberships you want to list.resourceTypes(Collection<MembershipResourceType> resourceTypes) The resource types to include when listing the principal's memberships.resourceTypes(MembershipResourceType... resourceTypes) The resource types to include when listing the principal's memberships.resourceTypesWithStrings(String... resourceTypes) The resource types to include when listing the principal's memberships.resourceTypesWithStrings(Collection<String> resourceTypes) The resource types to include when listing the principal's memberships.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
nextToken
The token for the next set of results, or
nullto start from the beginning.- Parameters:
nextToken- The token for the next set of results, ornullto start from the beginning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return. Use this parameter with
NextTokento get results as a set of sequential pages.- Parameters:
maxResults- The maximum number of results to return. Use this parameter withNextTokento get results as a set of sequential pages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principalId
The ID of the IAM Identity Center principal whose Deadline Cloud resource memberships you want to list.
- Parameters:
principalId- The ID of the IAM Identity Center principal whose Deadline Cloud resource memberships you want to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityStoreId
The identity store ID that contains the principal. This parameter is required for callers that do not use a monitor session.
- Parameters:
identityStoreId- The identity store ID that contains the principal. This parameter is required for callers that do not use a monitor session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityCenterRegion
The Region of the IAM Identity Center instance. If not provided, the service defaults to the Amazon Web Services Region in which you make the request.
- Parameters:
identityCenterRegion- The Region of the IAM Identity Center instance. If not provided, the service defaults to the Amazon Web Services Region in which you make the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypesWithStrings
The resource types to include when listing the principal's memberships. If not specified, memberships for all supported resource types are returned.
- Parameters:
resourceTypes- The resource types to include when listing the principal's memberships. If not specified, memberships for all supported resource types are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypesWithStrings
The resource types to include when listing the principal's memberships. If not specified, memberships for all supported resource types are returned.
- Parameters:
resourceTypes- The resource types to include when listing the principal's memberships. If not specified, memberships for all supported resource types are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypes
The resource types to include when listing the principal's memberships. If not specified, memberships for all supported resource types are returned.
- Parameters:
resourceTypes- The resource types to include when listing the principal's memberships. If not specified, memberships for all supported resource types are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypes
The resource types to include when listing the principal's memberships. If not specified, memberships for all supported resource types are returned.
- Parameters:
resourceTypes- The resource types to include when listing the principal's memberships. If not specified, memberships for all supported resource types are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListMembershipsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListMembershipsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-