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.This data type is a request parameter of CreateResourceServer and a response parameter of DescribeResourceServer.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResourceServerScopeType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceServerScopeType.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringscopeDescription()A friendly description of a custom scope.StringscopeName()The name of the scope.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ResourceServerScopeType.Builder>serializableBuilderClass()ResourceServerScopeType.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
scopeName
public final String 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
public final String scopeDescription()
A friendly description of a custom scope.
- Returns:
- A friendly description of a custom scope.
-
toBuilder
public ResourceServerScopeType.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResourceServerScopeType.Builder,ResourceServerScopeType>
-
builder
public static ResourceServerScopeType.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResourceServerScopeType.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-