Interface AddUserPoolClientSecretResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<AddUserPoolClientSecretResponse.Builder,,AddUserPoolClientSecretResponse> SdkBuilder<AddUserPoolClientSecretResponse.Builder,,AddUserPoolClientSecretResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AddUserPoolClientSecretResponse
@Mutable
@NotThreadSafe
public static interface AddUserPoolClientSecretResponse.Builder
extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<AddUserPoolClientSecretResponse.Builder,AddUserPoolClientSecretResponse>
-
Method Summary
Modifier and TypeMethodDescriptionclientSecretDescriptor(Consumer<ClientSecretDescriptorType.Builder> clientSecretDescriptor) The details of the newly created client secret, including its unique identifier and creation timestamp.clientSecretDescriptor(ClientSecretDescriptorType clientSecretDescriptor) The details of the newly created client secret, including its unique identifier and creation timestamp.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
-
clientSecretDescriptor
AddUserPoolClientSecretResponse.Builder clientSecretDescriptor(ClientSecretDescriptorType clientSecretDescriptor) The details of the newly created client secret, including its unique identifier and creation timestamp. The ClientSecretValue is only returned when Amazon Cognito generates the secret. For custom secrets that you provide, the ClientSecretValue is not included in the response.
- Parameters:
clientSecretDescriptor- The details of the newly created client secret, including its unique identifier and creation timestamp. The ClientSecretValue is only returned when Amazon Cognito generates the secret. For custom secrets that you provide, the ClientSecretValue is not included in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientSecretDescriptor
default AddUserPoolClientSecretResponse.Builder clientSecretDescriptor(Consumer<ClientSecretDescriptorType.Builder> clientSecretDescriptor) The details of the newly created client secret, including its unique identifier and creation timestamp. The ClientSecretValue is only returned when Amazon Cognito generates the secret. For custom secrets that you provide, the ClientSecretValue is not included in the response.
This is a convenience method that creates an instance of theClientSecretDescriptorType.Builderavoiding the need to create one manually viaClientSecretDescriptorType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclientSecretDescriptor(ClientSecretDescriptorType).- Parameters:
clientSecretDescriptor- a consumer that will call methods onClientSecretDescriptorType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-