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) TheAccessStatusof Service Trust Enablement for User Notifications to Amazon Web Services Organizations.notificationsAccessForOrganization(NotificationsAccessForOrganization notificationsAccessForOrganization) TheAccessStatusof Service Trust Enablement for User Notifications to Amazon Web Services Organizations.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.notifications.model.NotificationsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
notificationsAccessForOrganization
GetNotificationsAccessForOrganizationResponse.Builder notificationsAccessForOrganization(NotificationsAccessForOrganization notificationsAccessForOrganization) The
AccessStatusof Service Trust Enablement for User Notifications to Amazon Web Services Organizations.- Parameters:
notificationsAccessForOrganization- TheAccessStatusof 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 theAccessStatusof Service Trust Enablement for User Notifications to Amazon Web Services Organizations.NotificationsAccessForOrganization.Builderavoiding the need to create one manually viaNotificationsAccessForOrganization.builder().When the
Consumercompletes,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:
-