public static interface GetSubjectResponse.Builder extends RolesAnywhereResponse.Builder, SdkPojo, CopyableBuilder<GetSubjectResponse.Builder,GetSubjectResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetSubjectResponse.Builder |
subject(Consumer<SubjectDetail.Builder> subject)
The state of the subject after a read or write operation.
|
GetSubjectResponse.Builder |
subject(SubjectDetail subject)
The state of the subject after a read or write operation.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetSubjectResponse.Builder subject(SubjectDetail subject)
The state of the subject after a read or write operation.
subject - The state of the subject after a read or write operation.default GetSubjectResponse.Builder subject(Consumer<SubjectDetail.Builder> subject)
The state of the subject after a read or write operation.
This is a convenience method that creates an instance of theSubjectDetail.Builder avoiding the need
to create one manually via SubjectDetail.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to subject(SubjectDetail).subject - a consumer that will call methods on SubjectDetail.Buildersubject(SubjectDetail)Copyright © 2022. All rights reserved.