Interface ListResourceServersResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<ListResourceServersResponse.Builder,ListResourceServersResponse>,SdkBuilder<ListResourceServersResponse.Builder,ListResourceServersResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListResourceServersResponse
@Mutable @NotThreadSafe public static interface ListResourceServersResponse.Builder extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<ListResourceServersResponse.Builder,ListResourceServersResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListResourceServersResponse.BuildernextToken(String nextToken)The identifier that Amazon Cognito returned with the previous request to this operation.ListResourceServersResponse.BuilderresourceServers(Collection<ResourceServerType> resourceServers)An array of resource servers and the details of their configuration.ListResourceServersResponse.BuilderresourceServers(Consumer<ResourceServerType.Builder>... resourceServers)An array of resource servers and the details of their configuration.ListResourceServersResponse.BuilderresourceServers(ResourceServerType... resourceServers)An array of resource servers and the details of their configuration.-
Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
resourceServers
ListResourceServersResponse.Builder resourceServers(Collection<ResourceServerType> resourceServers)
An array of resource servers and the details of their configuration. For each, the response includes names, identifiers, and custom scopes.
- Parameters:
resourceServers- An array of resource servers and the details of their configuration. For each, the response includes names, identifiers, and custom scopes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceServers
ListResourceServersResponse.Builder resourceServers(ResourceServerType... resourceServers)
An array of resource servers and the details of their configuration. For each, the response includes names, identifiers, and custom scopes.
- Parameters:
resourceServers- An array of resource servers and the details of their configuration. For each, the response includes names, identifiers, and custom scopes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceServers
ListResourceServersResponse.Builder resourceServers(Consumer<ResourceServerType.Builder>... resourceServers)
An array of resource servers and the details of their configuration. For each, the response includes names, identifiers, and custom scopes.
This is a convenience method that creates an instance of theResourceServerType.Builderavoiding the need to create one manually viaResourceServerType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resourceServers(List.) - Parameters:
resourceServers- a consumer that will call methods onResourceServerType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#resourceServers(java.util.Collection)
-
nextToken
ListResourceServersResponse.Builder nextToken(String nextToken)
The identifier that Amazon Cognito returned with the previous request to this operation. When you include a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of this token, you can paginate through the full list of items.
- Parameters:
nextToken- The identifier that Amazon Cognito returned with the previous request to this operation. When you include a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of this token, you can paginate through the full list of items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-