Interface CreateIdentityProviderResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<CreateIdentityProviderResponse.Builder,,CreateIdentityProviderResponse> SdkBuilder<CreateIdentityProviderResponse.Builder,,CreateIdentityProviderResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateIdentityProviderResponse
public static interface CreateIdentityProviderResponse.Builder
extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<CreateIdentityProviderResponse.Builder,CreateIdentityProviderResponse>
-
Method Summary
Modifier and TypeMethodDescriptionidentityProvider(Consumer<IdentityProviderType.Builder> identityProvider) The newly created IdP object.identityProvider(IdentityProviderType identityProvider) The newly created IdP object.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
identityProvider
The newly created IdP object.
- Parameters:
identityProvider- The newly created IdP object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityProvider
default CreateIdentityProviderResponse.Builder identityProvider(Consumer<IdentityProviderType.Builder> identityProvider) The newly created IdP object.
This is a convenience method that creates an instance of theIdentityProviderType.Builderavoiding the need to create one manually viaIdentityProviderType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidentityProvider(IdentityProviderType).- Parameters:
identityProvider- a consumer that will call methods onIdentityProviderType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-