Interface ListResourceServersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<ListResourceServersResponse.Builder,,ListResourceServersResponse> SdkBuilder<ListResourceServersResponse.Builder,,ListResourceServersResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListResourceServersResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier that Amazon Cognito returned with the previous request to this operation.resourceServers(Collection<ResourceServerType> resourceServers) An array of resource servers and the details of their configuration.resourceServers(Consumer<ResourceServerType.Builder>... resourceServers) An array of resource servers and the details of their configuration.resourceServers(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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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 toresourceServers(List<ResourceServerType>).- 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:
-
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.
-