Class DescribeResourceServerRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest
-
- software.amazon.awssdk.services.cognitoidentityprovider.model.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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DescribeResourceServerRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeResourceServerRequest.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
identifier()
A unique resource server identifier for the resource server.List<SdkField<?>>
sdkFields()
static Class<? extends DescribeResourceServerRequest.Builder>
serializableBuilderClass()
DescribeResourceServerRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
userPoolId()
The user pool ID for the user pool that hosts the resource server.-
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
-
userPoolId
public final String userPoolId()
The user pool ID for the user pool that hosts the resource server.
- Returns:
- The user pool ID for 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 likehttps://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 likehttps://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
public DescribeResourceServerRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<DescribeResourceServerRequest.Builder,DescribeResourceServerRequest>
- Specified by:
toBuilder
in classCognitoIdentityProviderRequest
-
builder
public static DescribeResourceServerRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeResourceServerRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkRequest
-
-