/** * <p> * The user to be disabled. * </p> * This is a convenience that creates an instance of the {@link ProviderUserIdentifierType.Builder} avoiding the * need to create one manually via {@link ProviderUserIdentifierType#builder()}. * * When the {@link Consumer} completes, {@link ProviderUserIdentifierType.Builder#build()} is called immediately * and its result is passed to {@link #user(ProviderUserIdentifierType)}. * * @param user * a consumer that will call methods on {@link ProviderUserIdentifierType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #user(ProviderUserIdentifierType) */ default Builder user(Consumer<ProviderUserIdentifierType.Builder> user) { return user(ProviderUserIdentifierType.builder().applyMutation(user).build()); }
/** * <p> * The user to be disabled. * </p> * This is a convenience that creates an instance of the {@link ProviderUserIdentifierType.Builder} avoiding the * need to create one manually via {@link ProviderUserIdentifierType#builder()}. * * When the {@link Consumer} completes, {@link ProviderUserIdentifierType.Builder#build()} is called immediately * and its result is passed to {@link #user(ProviderUserIdentifierType)}. * * @param user * a consumer that will call methods on {@link ProviderUserIdentifierType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #user(ProviderUserIdentifierType) */ default Builder user(Consumer<ProviderUserIdentifierType.Builder> user) { return user(ProviderUserIdentifierType.builder().applyMutation(user).build()); }
/** * <p> * The existing user in the user pool to be linked to the external identity provider user account. Can be a * native (Username + Password) Cognito User Pools user or a federated user (for example, a SAML or Facebook * user). If the user doesn't exist, an exception is thrown. This is the user that is returned when the new user * (with the linked identity provider attribute) signs in. * </p> * <p> * The <code>ProviderAttributeValue</code> for the <code>DestinationUser</code> must match the username for the * user in the user pool. The <code>ProviderAttributeName</code> will always be ignored. * </p> * This is a convenience that creates an instance of the {@link ProviderUserIdentifierType.Builder} avoiding the * need to create one manually via {@link ProviderUserIdentifierType#builder()}. * * When the {@link Consumer} completes, {@link ProviderUserIdentifierType.Builder#build()} is called immediately * and its result is passed to {@link #destinationUser(ProviderUserIdentifierType)}. * * @param destinationUser * a consumer that will call methods on {@link ProviderUserIdentifierType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #destinationUser(ProviderUserIdentifierType) */ default Builder destinationUser(Consumer<ProviderUserIdentifierType.Builder> destinationUser) { return destinationUser(ProviderUserIdentifierType.builder().applyMutation(destinationUser).build()); }
return destinationUser(ProviderUserIdentifierType.builder().applyMutation(destinationUser).build());
return sourceUser(ProviderUserIdentifierType.builder().applyMutation(sourceUser).build());
return sourceUser(ProviderUserIdentifierType.builder().applyMutation(sourceUser).build());
public ProviderUserIdentifierType unmarshall(JsonUnmarshallerContext context) throws Exception { ProviderUserIdentifierType.Builder providerUserIdentifierTypeBuilder = ProviderUserIdentifierType.builder();