Class ListAccountAssignmentsForPrincipalRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.ssoadmin.model.SsoAdminRequest
-
- software.amazon.awssdk.services.ssoadmin.model.ListAccountAssignmentsForPrincipalRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListAccountAssignmentsForPrincipalRequest.Builder,ListAccountAssignmentsForPrincipalRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListAccountAssignmentsForPrincipalRequest extends SsoAdminRequest implements ToCopyableBuilder<ListAccountAssignmentsForPrincipalRequest.Builder,ListAccountAssignmentsForPrincipalRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListAccountAssignmentsForPrincipalRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListAccountAssignmentsForPrincipalRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ListAccountAssignmentsFilterfilter()Specifies an Amazon Web Services account ID number.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceArn()Specifies the ARN of the instance of IAM Identity Center that contains the principal.IntegermaxResults()Specifies the total number of results that you want included in each response.StringnextToken()Specifies that you want to receive the next page of results.StringprincipalId()Specifies the principal for which you want to retrieve the list of account assignments.PrincipalTypeprincipalType()Specifies the type of the principal.StringprincipalTypeAsString()Specifies the type of the principal.List<SdkField<?>>sdkFields()static Class<? extends ListAccountAssignmentsForPrincipalRequest.Builder>serializableBuilderClass()ListAccountAssignmentsForPrincipalRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
filter
public final ListAccountAssignmentsFilter filter()
Specifies an Amazon Web Services account ID number. Results are filtered to only those that match this ID number.
- Returns:
- Specifies an Amazon Web Services account ID number. Results are filtered to only those that match this ID number.
-
instanceArn
public final String instanceArn()
Specifies the ARN of the instance of IAM Identity Center that contains the principal.
- Returns:
- Specifies the ARN of the instance of IAM Identity Center that contains the principal.
-
maxResults
public final Integer maxResults()
Specifies the total number of results that you want included in each response. If additional items exist beyond the number you specify, the
NextTokenresponse element is returned with a value (not null). Include the specified value as theNextTokenrequest parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should checkNextTokenafter every operation to ensure that you receive all of the results.- Returns:
- Specifies the total number of results that you want included in each response. If additional items exist
beyond the number you specify, the
NextTokenresponse element is returned with a value (not null). Include the specified value as theNextTokenrequest parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should checkNextTokenafter every operation to ensure that you receive all of the results.
-
nextToken
public final String nextToken()
Specifies that you want to receive the next page of results. Valid only if you received a
NextTokenresponse in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call'sNextTokenresponse to request the next page of results.- Returns:
- Specifies that you want to receive the next page of results. Valid only if you received a
NextTokenresponse in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call'sNextTokenresponse to request the next page of results.
-
principalId
public final String principalId()
Specifies the principal for which you want to retrieve the list of account assignments.
- Returns:
- Specifies the principal for which you want to retrieve the list of account assignments.
-
principalType
public final PrincipalType principalType()
Specifies the type of the principal.
If the service returns an enum value that is not available in the current SDK version,
principalTypewill returnPrincipalType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprincipalTypeAsString().- Returns:
- Specifies the type of the principal.
- See Also:
PrincipalType
-
principalTypeAsString
public final String principalTypeAsString()
Specifies the type of the principal.
If the service returns an enum value that is not available in the current SDK version,
principalTypewill returnPrincipalType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprincipalTypeAsString().- Returns:
- Specifies the type of the principal.
- See Also:
PrincipalType
-
toBuilder
public ListAccountAssignmentsForPrincipalRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListAccountAssignmentsForPrincipalRequest.Builder,ListAccountAssignmentsForPrincipalRequest>- Specified by:
toBuilderin classSsoAdminRequest
-
builder
public static ListAccountAssignmentsForPrincipalRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListAccountAssignmentsForPrincipalRequest.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
-
-