Class DescribeResourceServerRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<DescribeResourceServerRequest.Builder,DescribeResourceServerRequest>

@Generated("software.amazon.awssdk:codegen") public final class DescribeResourceServerRequest extends CognitoIdentityProviderRequest implements ToCopyableBuilder<DescribeResourceServerRequest.Builder,DescribeResourceServerRequest>
  • Method Details

    • userPoolId

      public final String userPoolId()

      The ID of the user pool that hosts the resource server.

      Returns:
      The ID of the user pool that hosts the resource server.
    • identifier

      public final String identifier()

      A unique resource server identifier for the resource server. The identifier can be an API friendly name like solar-system-data. You can also set an API URL like https://solar-system-data-api.example.com as your identifier.

      Amazon Cognito represents scopes in the access token in the format $resource-server-identifier/$scope. Longer scope-identifier strings increase the size of your access tokens.

      Returns:
      A unique resource server identifier for the resource server. The identifier can be an API friendly name like solar-system-data. You can also set an API URL like https://solar-system-data-api.example.com as your identifier.

      Amazon Cognito represents scopes in the access token in the format $resource-server-identifier/$scope. Longer scope-identifier strings increase the size of your access tokens.

    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<DescribeResourceServerRequest.Builder,DescribeResourceServerRequest>
      Specified by:
      toBuilder in class CognitoIdentityProviderRequest
    • builder

      public static DescribeResourceServerRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends DescribeResourceServerRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo