@Override public IdentityProviderType build() { return new IdentityProviderType(this); } }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(userPoolId()); hashCode = 31 * hashCode + Objects.hashCode(providerName()); hashCode = 31 * hashCode + Objects.hashCode(providerTypeAsString()); hashCode = 31 * hashCode + Objects.hashCode(providerDetails()); hashCode = 31 * hashCode + Objects.hashCode(attributeMapping()); hashCode = 31 * hashCode + Objects.hashCode(idpIdentifiers()); hashCode = 31 * hashCode + Objects.hashCode(lastModifiedDate()); hashCode = 31 * hashCode + Objects.hashCode(creationDate()); return hashCode; }
public final IdentityProviderType.Builder getIdentityProvider() { return identityProvider != null ? identityProvider.toBuilder() : null; }
/** * <p> * The identity provider object. * </p> * This is a convenience that creates an instance of the {@link IdentityProviderType.Builder} avoiding the need * to create one manually via {@link IdentityProviderType#builder()}. * * When the {@link Consumer} completes, {@link IdentityProviderType.Builder#build()} is called immediately and * its result is passed to {@link #identityProvider(IdentityProviderType)}. * * @param identityProvider * a consumer that will call methods on {@link IdentityProviderType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #identityProvider(IdentityProviderType) */ default Builder identityProvider(Consumer<IdentityProviderType.Builder> identityProvider) { return identityProvider(IdentityProviderType.builder().applyMutation(identityProvider).build()); } }
/** * <p> * The newly created identity provider object. * </p> * This is a convenience that creates an instance of the {@link IdentityProviderType.Builder} avoiding the need * to create one manually via {@link IdentityProviderType#builder()}. * * When the {@link Consumer} completes, {@link IdentityProviderType.Builder#build()} is called immediately and * its result is passed to {@link #identityProvider(IdentityProviderType)}. * * @param identityProvider * a consumer that will call methods on {@link IdentityProviderType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #identityProvider(IdentityProviderType) */ default Builder identityProvider(Consumer<IdentityProviderType.Builder> identityProvider) { return identityProvider(IdentityProviderType.builder().applyMutation(identityProvider).build()); } }
/** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. */ @Override public String toString() { return ToString.builder("IdentityProviderType").add("UserPoolId", userPoolId()).add("ProviderName", providerName()) .add("ProviderType", providerTypeAsString()).add("ProviderDetails", providerDetails()) .add("AttributeMapping", attributeMapping()).add("IdpIdentifiers", idpIdentifiers()) .add("LastModifiedDate", lastModifiedDate()).add("CreationDate", creationDate()).build(); }
/** * <p> * The identity provider that was deleted. * </p> * This is a convenience that creates an instance of the {@link IdentityProviderType.Builder} avoiding the need * to create one manually via {@link IdentityProviderType#builder()}. * * When the {@link Consumer} completes, {@link IdentityProviderType.Builder#build()} is called immediately and * its result is passed to {@link #identityProvider(IdentityProviderType)}. * * @param identityProvider * a consumer that will call methods on {@link IdentityProviderType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #identityProvider(IdentityProviderType) */ default Builder identityProvider(Consumer<IdentityProviderType.Builder> identityProvider) { return identityProvider(IdentityProviderType.builder().applyMutation(identityProvider).build()); } }
public final IdentityProviderType.Builder getIdentityProvider() { return identityProvider != null ? identityProvider.toBuilder() : null; }
@Override public IdentityProviderType build() { return new IdentityProviderType(this); }
@Override public String toString() { return ToString.builder("IdentityProviderType").add("UserPoolId", userPoolId()).add("ProviderName", providerName()) .add("ProviderType", providerTypeAsString()).add("ProviderDetails", providerDetails()) .add("AttributeMapping", attributeMapping()).add("IdpIdentifiers", idpIdentifiers()) .add("LastModifiedDate", lastModifiedDate()).add("CreationDate", creationDate()).build(); }
/** * <p> * The newly created identity provider object. * </p> * This is a convenience that creates an instance of the {@link IdentityProviderType.Builder} avoiding the need * to create one manually via {@link IdentityProviderType#builder()}. * * When the {@link Consumer} completes, {@link IdentityProviderType.Builder#build()} is called immediately and * its result is passed to {@link #identityProvider(IdentityProviderType)}. * * @param identityProvider * a consumer that will call methods on {@link IdentityProviderType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #identityProvider(IdentityProviderType) */ default Builder identityProvider(Consumer<IdentityProviderType.Builder> identityProvider) { return identityProvider(IdentityProviderType.builder().applyMutation(identityProvider).build()); } }
public final IdentityProviderType.Builder getIdentityProvider() { return identityProvider != null ? identityProvider.toBuilder() : null; }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(userPoolId()); hashCode = 31 * hashCode + Objects.hashCode(providerName()); hashCode = 31 * hashCode + Objects.hashCode(providerTypeAsString()); hashCode = 31 * hashCode + Objects.hashCode(providerDetails()); hashCode = 31 * hashCode + Objects.hashCode(attributeMapping()); hashCode = 31 * hashCode + Objects.hashCode(idpIdentifiers()); hashCode = 31 * hashCode + Objects.hashCode(lastModifiedDate()); hashCode = 31 * hashCode + Objects.hashCode(creationDate()); return hashCode; }
/** * <p> * The identity provider object. * </p> * This is a convenience that creates an instance of the {@link IdentityProviderType.Builder} avoiding the need * to create one manually via {@link IdentityProviderType#builder()}. * * When the {@link Consumer} completes, {@link IdentityProviderType.Builder#build()} is called immediately and * its result is passed to {@link #identityProvider(IdentityProviderType)}. * * @param identityProvider * a consumer that will call methods on {@link IdentityProviderType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #identityProvider(IdentityProviderType) */ default Builder identityProvider(Consumer<IdentityProviderType.Builder> identityProvider) { return identityProvider(IdentityProviderType.builder().applyMutation(identityProvider).build()); } }
public final IdentityProviderType.Builder getIdentityProvider() { return identityProvider != null ? identityProvider.toBuilder() : null; }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof IdentityProviderType)) { return false; } IdentityProviderType other = (IdentityProviderType) obj; return Objects.equals(userPoolId(), other.userPoolId()) && Objects.equals(providerName(), other.providerName()) && Objects.equals(providerTypeAsString(), other.providerTypeAsString()) && Objects.equals(providerDetails(), other.providerDetails()) && Objects.equals(attributeMapping(), other.attributeMapping()) && Objects.equals(idpIdentifiers(), other.idpIdentifiers()) && Objects.equals(lastModifiedDate(), other.lastModifiedDate()) && Objects.equals(creationDate(), other.creationDate()); }
/** * <p> * The identity provider that was deleted. * </p> * This is a convenience that creates an instance of the {@link IdentityProviderType.Builder} avoiding the need * to create one manually via {@link IdentityProviderType#builder()}. * * When the {@link Consumer} completes, {@link IdentityProviderType.Builder#build()} is called immediately and * its result is passed to {@link #identityProvider(IdentityProviderType)}. * * @param identityProvider * a consumer that will call methods on {@link IdentityProviderType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #identityProvider(IdentityProviderType) */ default Builder identityProvider(Consumer<IdentityProviderType.Builder> identityProvider) { return identityProvider(IdentityProviderType.builder().applyMutation(identityProvider).build()); } }
public final IdentityProviderType.Builder getIdentityProvider() { return identityProvider != null ? identityProvider.toBuilder() : null; }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof IdentityProviderType)) { return false; } IdentityProviderType other = (IdentityProviderType) obj; return Objects.equals(userPoolId(), other.userPoolId()) && Objects.equals(providerName(), other.providerName()) && Objects.equals(providerTypeAsString(), other.providerTypeAsString()) && Objects.equals(providerDetails(), other.providerDetails()) && Objects.equals(attributeMapping(), other.attributeMapping()) && Objects.equals(idpIdentifiers(), other.idpIdentifiers()) && Objects.equals(lastModifiedDate(), other.lastModifiedDate()) && Objects.equals(creationDate(), other.creationDate()); }
/** * <p> * The identity provider object. * </p> * This is a convenience that creates an instance of the {@link IdentityProviderType.Builder} avoiding the need * to create one manually via {@link IdentityProviderType#builder()}. * * When the {@link Consumer} completes, {@link IdentityProviderType.Builder#build()} is called immediately and * its result is passed to {@link #identityProvider(IdentityProviderType)}. * * @param identityProvider * a consumer that will call methods on {@link IdentityProviderType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #identityProvider(IdentityProviderType) */ default Builder identityProvider(Consumer<IdentityProviderType.Builder> identityProvider) { return identityProvider(IdentityProviderType.builder().applyMutation(identityProvider).build()); } }