@Override public GroupType build() { return new GroupType(this); } }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(groupName()); hashCode = 31 * hashCode + Objects.hashCode(userPoolId()); hashCode = 31 * hashCode + Objects.hashCode(description()); hashCode = 31 * hashCode + Objects.hashCode(roleArn()); hashCode = 31 * hashCode + Objects.hashCode(precedence()); hashCode = 31 * hashCode + Objects.hashCode(lastModifiedDate()); hashCode = 31 * hashCode + Objects.hashCode(creationDate()); return hashCode; }
public final GroupType.Builder getGroup() { return group != null ? group.toBuilder() : null; }
@Override @SafeVarargs public final Builder groups(Consumer<GroupType.Builder>... groups) { groups(Stream.of(groups).map(c -> GroupType.builder().applyMutation(c).build()).collect(Collectors.toList())); return this; }
@Override @SafeVarargs public final Builder groups(Consumer<GroupType.Builder>... groups) { groups(Stream.of(groups).map(c -> GroupType.builder().applyMutation(c).build()).collect(Collectors.toList())); return this; }
@Override public int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(groupName()); hashCode = 31 * hashCode + Objects.hashCode(userPoolId()); hashCode = 31 * hashCode + Objects.hashCode(description()); hashCode = 31 * hashCode + Objects.hashCode(roleArn()); hashCode = 31 * hashCode + Objects.hashCode(precedence()); hashCode = 31 * hashCode + Objects.hashCode(lastModifiedDate()); hashCode = 31 * hashCode + Objects.hashCode(creationDate()); return hashCode; }
@Override @SafeVarargs public final Builder groups(Consumer<GroupType.Builder>... groups) { groups(Stream.of(groups).map(c -> GroupType.builder().applyMutation(c).build()).collect(Collectors.toList())); return this; }
public final GroupType.Builder getGroup() { return group != null ? group.toBuilder() : null; }
@Override public GroupType build() { return new GroupType(this); }
/** * 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("GroupType").add("GroupName", groupName()).add("UserPoolId", userPoolId()) .add("Description", description()).add("RoleArn", roleArn()).add("Precedence", precedence()) .add("LastModifiedDate", lastModifiedDate()).add("CreationDate", creationDate()).build(); }
@Override @SafeVarargs public final Builder groups(Consumer<GroupType.Builder>... groups) { groups(Stream.of(groups).map(c -> GroupType.builder().applyMutation(c).build()).collect(Collectors.toList())); return this; }
public final GroupType.Builder getGroup() { return group != null ? group.toBuilder() : null; }
@Override public String toString() { return ToString.builder("GroupType").add("GroupName", groupName()).add("UserPoolId", userPoolId()) .add("Description", description()).add("RoleArn", roleArn()).add("Precedence", precedence()) .add("LastModifiedDate", lastModifiedDate()).add("CreationDate", creationDate()).build(); }
/** * <p> * The group object for the group. * </p> * This is a convenience that creates an instance of the {@link GroupType.Builder} avoiding the need to create * one manually via {@link GroupType#builder()}. * * When the {@link Consumer} completes, {@link GroupType.Builder#build()} is called immediately and its result * is passed to {@link #group(GroupType)}. * * @param group * a consumer that will call methods on {@link GroupType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #group(GroupType) */ default Builder group(Consumer<GroupType.Builder> group) { return group(GroupType.builder().applyMutation(group).build()); } }
public final GroupType.Builder getGroup() { return group != null ? group.toBuilder() : null; }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof GroupType)) { return false; } GroupType other = (GroupType) obj; return Objects.equals(groupName(), other.groupName()) && Objects.equals(userPoolId(), other.userPoolId()) && Objects.equals(description(), other.description()) && Objects.equals(roleArn(), other.roleArn()) && Objects.equals(precedence(), other.precedence()) && Objects.equals(lastModifiedDate(), other.lastModifiedDate()) && Objects.equals(creationDate(), other.creationDate()); }
/** * <p> * The group object for the group. * </p> * This is a convenience that creates an instance of the {@link GroupType.Builder} avoiding the need to create * one manually via {@link GroupType#builder()}. * * When the {@link Consumer} completes, {@link GroupType.Builder#build()} is called immediately and its result * is passed to {@link #group(GroupType)}. * * @param group * a consumer that will call methods on {@link GroupType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #group(GroupType) */ default Builder group(Consumer<GroupType.Builder> group) { return group(GroupType.builder().applyMutation(group).build()); } }
public final GroupType.Builder getGroup() { return group != null ? group.toBuilder() : null; }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof GroupType)) { return false; } GroupType other = (GroupType) obj; return Objects.equals(groupName(), other.groupName()) && Objects.equals(userPoolId(), other.userPoolId()) && Objects.equals(description(), other.description()) && Objects.equals(roleArn(), other.roleArn()) && Objects.equals(precedence(), other.precedence()) && Objects.equals(lastModifiedDate(), other.lastModifiedDate()) && Objects.equals(creationDate(), other.creationDate()); }
/** * <p> * The group object for the group. * </p> * This is a convenience that creates an instance of the {@link GroupType.Builder} avoiding the need to create * one manually via {@link GroupType#builder()}. * * When the {@link Consumer} completes, {@link GroupType.Builder#build()} is called immediately and its result * is passed to {@link #group(GroupType)}. * * @param group * a consumer that will call methods on {@link GroupType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #group(GroupType) */ default Builder group(Consumer<GroupType.Builder> group) { return group(GroupType.builder().applyMutation(group).build()); } }