Class ResourceServerScopeType
java.lang.Object
software.amazon.awssdk.services.cognitoidentityprovider.model.ResourceServerScopeType
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResourceServerScopeType.Builder,ResourceServerScopeType>
@Generated("software.amazon.awssdk:codegen")
public final class ResourceServerScopeType
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<ResourceServerScopeType.Builder,ResourceServerScopeType>
One custom scope associated with a user pool resource server. This data type is a member of
ResourceServerScopeType. For more information, see
Scopes, M2M, and API authorization with resource servers.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringA friendly description of a custom scope.final StringThe name of the scope.static Class<? extends ResourceServerScopeType.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
scopeName
The name of the scope. Amazon Cognito renders custom scopes in the format
resourceServerIdentifier/ScopeName. For example, if this parameter isexampleScopein the resource server with the identifierexampleResourceServer, you request and receive the scopeexampleResourceServer/exampleScope.- Returns:
- The name of the scope. Amazon Cognito renders custom scopes in the format
resourceServerIdentifier/ScopeName. For example, if this parameter isexampleScopein the resource server with the identifierexampleResourceServer, you request and receive the scopeexampleResourceServer/exampleScope.
-
scopeDescription
A friendly description of a custom scope.
- Returns:
- A friendly description of a custom scope.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResourceServerScopeType.Builder,ResourceServerScopeType>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-