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