Class ListPermissionsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.grafana.model.GrafanaRequest
-
- software.amazon.awssdk.services.grafana.model.ListPermissionsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListPermissionsRequest.Builder,ListPermissionsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListPermissionsRequest extends GrafanaRequest implements ToCopyableBuilder<ListPermissionsRequest.Builder,ListPermissionsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListPermissionsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListPermissionsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringgroupId()(Optional) Limits the results to only the group that matches this ID.inthashCode()IntegermaxResults()The maximum number of results to include in the response.StringnextToken()The token to use when requesting the next set of results.List<SdkField<?>>sdkFields()static Class<? extends ListPermissionsRequest.Builder>serializableBuilderClass()ListPermissionsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserId()(Optional) Limits the results to only the user that matches this ID.UserTypeuserType()(Optional) If you specifySSO_USER, then only the permissions of IAM Identity Center users are returned.StringuserTypeAsString()(Optional) If you specifySSO_USER, then only the permissions of IAM Identity Center users are returned.StringworkspaceId()The ID of the workspace to list permissions for.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
groupId
public final String groupId()
(Optional) Limits the results to only the group that matches this ID.
- Returns:
- (Optional) Limits the results to only the group that matches this ID.
-
maxResults
public final Integer maxResults()
The maximum number of results to include in the response.
- Returns:
- The maximum number of results to include in the response.
-
nextToken
public final String nextToken()
The token to use when requesting the next set of results. You received this token from a previous
ListPermissionsoperation.- Returns:
- The token to use when requesting the next set of results. You received this token from a previous
ListPermissionsoperation.
-
userId
public final String userId()
(Optional) Limits the results to only the user that matches this ID.
- Returns:
- (Optional) Limits the results to only the user that matches this ID.
-
userType
public final UserType userType()
(Optional) If you specify
SSO_USER, then only the permissions of IAM Identity Center users are returned. If you specifySSO_GROUP, only the permissions of IAM Identity Center groups are returned.If the service returns an enum value that is not available in the current SDK version,
userTypewill returnUserType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromuserTypeAsString().- Returns:
- (Optional) If you specify
SSO_USER, then only the permissions of IAM Identity Center users are returned. If you specifySSO_GROUP, only the permissions of IAM Identity Center groups are returned. - See Also:
UserType
-
userTypeAsString
public final String userTypeAsString()
(Optional) If you specify
SSO_USER, then only the permissions of IAM Identity Center users are returned. If you specifySSO_GROUP, only the permissions of IAM Identity Center groups are returned.If the service returns an enum value that is not available in the current SDK version,
userTypewill returnUserType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromuserTypeAsString().- Returns:
- (Optional) If you specify
SSO_USER, then only the permissions of IAM Identity Center users are returned. If you specifySSO_GROUP, only the permissions of IAM Identity Center groups are returned. - See Also:
UserType
-
workspaceId
public final String workspaceId()
The ID of the workspace to list permissions for. This parameter is required.
- Returns:
- The ID of the workspace to list permissions for. This parameter is required.
-
toBuilder
public ListPermissionsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListPermissionsRequest.Builder,ListPermissionsRequest>- Specified by:
toBuilderin classGrafanaRequest
-
builder
public static ListPermissionsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListPermissionsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-