@Override public DeleteUserPoolClientRequest build() { return new DeleteUserPoolClientRequest(this); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof DeleteUserPoolClientRequest)) { return false; } DeleteUserPoolClientRequest other = (DeleteUserPoolClientRequest) obj; return Objects.equals(userPoolId(), other.userPoolId()) && Objects.equals(clientId(), other.clientId()); }
return deleteUserPoolClient(DeleteUserPoolClientRequest.builder().applyMutation(deleteUserPoolClientRequest).build());
InvalidParameterException, TooManyRequestsException, NotAuthorizedException, InternalErrorException, AwsServiceException, SdkClientException, CognitoIdentityProviderException { return deleteUserPoolClient(DeleteUserPoolClientRequest.builder().applyMutation(deleteUserPoolClientRequest).build());
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(userPoolId()); hashCode = 31 * hashCode + Objects.hashCode(clientId()); return hashCode; }
return deleteUserPoolClient(DeleteUserPoolClientRequest.builder().applyMutation(deleteUserPoolClientRequest).build());
@Override public DeleteUserPoolClientRequest build() { return new DeleteUserPoolClientRequest(this); } }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof DeleteUserPoolClientRequest)) { return false; } DeleteUserPoolClientRequest other = (DeleteUserPoolClientRequest) obj; return Objects.equals(userPoolId(), other.userPoolId()) && Objects.equals(clientId(), other.clientId()); }
InvalidParameterException, TooManyRequestsException, NotAuthorizedException, InternalErrorException, AwsServiceException, SdkClientException, CognitoIdentityProviderException { return deleteUserPoolClient(DeleteUserPoolClientRequest.builder().applyMutation(deleteUserPoolClientRequest).build());
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(userPoolId()); hashCode = 31 * hashCode + Objects.hashCode(clientId()); return hashCode; }
/** * 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("DeleteUserPoolClientRequest").add("UserPoolId", userPoolId()) .add("ClientId", clientId() == null ? null : "*** Sensitive Data Redacted ***").build(); }
@Override public String toString() { return ToString.builder("DeleteUserPoolClientRequest").add("UserPoolId", userPoolId()).add("ClientId", clientId()) .build(); }
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) { switch (fieldName) { case "UserPoolId": return Optional.ofNullable(clazz.cast(userPoolId())); case "ClientId": return Optional.ofNullable(clazz.cast(clientId())); default: return Optional.empty(); } }
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) { switch (fieldName) { case "UserPoolId": return Optional.ofNullable(clazz.cast(userPoolId())); case "ClientId": return Optional.ofNullable(clazz.cast(clientId())); default: return Optional.empty(); } }
/** * Marshall the given parameter object */ public void marshall(DeleteUserPoolClientRequest deleteUserPoolClientRequest, ProtocolMarshaller protocolMarshaller) { Validate.paramNotNull(deleteUserPoolClientRequest, "deleteUserPoolClientRequest"); Validate.paramNotNull(protocolMarshaller, "protocolMarshaller"); try { protocolMarshaller.marshall(deleteUserPoolClientRequest.userPoolId(), USERPOOLID_BINDING); protocolMarshaller.marshall(deleteUserPoolClientRequest.clientId(), CLIENTID_BINDING); } catch (Exception e) { throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build(); } } }