Interface GetNotificationsAccessForOrganizationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetNotificationsAccessForOrganizationResponse.Builder,
,GetNotificationsAccessForOrganizationResponse> NotificationsResponse.Builder
,SdkBuilder<GetNotificationsAccessForOrganizationResponse.Builder,
,GetNotificationsAccessForOrganizationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetNotificationsAccessForOrganizationResponse
@Mutable
@NotThreadSafe
public static interface GetNotificationsAccessForOrganizationResponse.Builder
extends NotificationsResponse.Builder, SdkPojo, CopyableBuilder<GetNotificationsAccessForOrganizationResponse.Builder,GetNotificationsAccessForOrganizationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnotificationsAccessForOrganization
(Consumer<NotificationsAccessForOrganization.Builder> notificationsAccessForOrganization) TheAccessStatus
of Service Trust Enablement for User Notifications to Amazon Web Services Organizations.notificationsAccessForOrganization
(NotificationsAccessForOrganization notificationsAccessForOrganization) TheAccessStatus
of Service Trust Enablement for User Notifications to Amazon Web Services Organizations.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.notifications.model.NotificationsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
notificationsAccessForOrganization
GetNotificationsAccessForOrganizationResponse.Builder notificationsAccessForOrganization(NotificationsAccessForOrganization notificationsAccessForOrganization) The
AccessStatus
of Service Trust Enablement for User Notifications to Amazon Web Services Organizations.- Parameters:
notificationsAccessForOrganization
- TheAccessStatus
of Service Trust Enablement for User Notifications to Amazon Web Services Organizations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationsAccessForOrganization
default GetNotificationsAccessForOrganizationResponse.Builder notificationsAccessForOrganization(Consumer<NotificationsAccessForOrganization.Builder> notificationsAccessForOrganization) The
This is a convenience method that creates an instance of theAccessStatus
of Service Trust Enablement for User Notifications to Amazon Web Services Organizations.NotificationsAccessForOrganization.Builder
avoiding the need to create one manually viaNotificationsAccessForOrganization.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotificationsAccessForOrganization(NotificationsAccessForOrganization)
.- Parameters:
notificationsAccessForOrganization
- a consumer that will call methods onNotificationsAccessForOrganization.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-