Interface GetNotificationEventResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetNotificationEventResponse.Builder,
,GetNotificationEventResponse> NotificationsResponse.Builder
,SdkBuilder<GetNotificationEventResponse.Builder,
,GetNotificationEventResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetNotificationEventResponse
@Mutable
@NotThreadSafe
public static interface GetNotificationEventResponse.Builder
extends NotificationsResponse.Builder, SdkPojo, CopyableBuilder<GetNotificationEventResponse.Builder,GetNotificationEventResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the resource.content
(Consumer<NotificationEvent.Builder> content) The content of theNotificationEvent
.content
(NotificationEvent content) The content of theNotificationEvent
.creationTime
(Instant creationTime) The creation time of theNotificationEvent
.notificationConfigurationArn
(String notificationConfigurationArn) The ARN of theNotificationConfiguration
.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
-
arn
The ARN of the resource.
- Parameters:
arn
- The ARN of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationConfigurationArn
GetNotificationEventResponse.Builder notificationConfigurationArn(String notificationConfigurationArn) The ARN of the
NotificationConfiguration
.- Parameters:
notificationConfigurationArn
- The ARN of theNotificationConfiguration
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The creation time of the
NotificationEvent
.- Parameters:
creationTime
- The creation time of theNotificationEvent
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The content of the
NotificationEvent
.- Parameters:
content
- The content of theNotificationEvent
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The content of the
This is a convenience method that creates an instance of theNotificationEvent
.NotificationEvent.Builder
avoiding the need to create one manually viaNotificationEvent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontent(NotificationEvent)
.- Parameters:
content
- a consumer that will call methods onNotificationEvent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-