public static final class CheckMembershipRequest.Builder extends Object
CheckMembershipRequest.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
CheckMembershipRequest |
build()
Builds a new
CheckMembershipRequest. |
CheckMembershipRequest.Builder |
from(CheckMembershipRequest instance)
Fill a builder with attribute values from the provided
CheckMembershipRequest instance. |
CheckMembershipRequest.Builder |
groupId(String groupId)
Initializes the value for the
groupId attribute. |
CheckMembershipRequest.Builder |
memberId(String memberId)
Initializes the value for the
memberId attribute. |
public final CheckMembershipRequest.Builder from(CheckMembershipRequest instance)
CheckMembershipRequest instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final CheckMembershipRequest.Builder groupId(String groupId)
groupId attribute.groupId - The value for groupIdthis builder for use in a chained invocationpublic final CheckMembershipRequest.Builder memberId(String memberId)
memberId attribute.memberId - The value for memberIdthis builder for use in a chained invocationpublic CheckMembershipRequest build()
CheckMembershipRequest.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.