Interface GetNotificationEventResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetNotificationEventResponse.Builder,,GetNotificationEventResponse> NotificationsResponse.Builder,SdkBuilder<GetNotificationEventResponse.Builder,,GetNotificationEventResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetNotificationEventResponse
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
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
-
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.Builderavoiding the need to create one manually viaNotificationEvent.builder().When the
Consumercompletes,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:
-