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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetNotificationEventResponse.Builderarn(String arn)The ARN of the resource.default GetNotificationEventResponse.Buildercontent(Consumer<NotificationEvent.Builder> content)The content of theNotificationEvent.GetNotificationEventResponse.Buildercontent(NotificationEvent content)The content of theNotificationEvent.GetNotificationEventResponse.BuildercreationTime(Instant creationTime)The creation time of theNotificationEvent.GetNotificationEventResponse.BuildernotificationConfigurationArn(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 Detail
-
arn
GetNotificationEventResponse.Builder arn(String 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
GetNotificationEventResponse.Builder creationTime(Instant 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
GetNotificationEventResponse.Builder content(NotificationEvent 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
default GetNotificationEventResponse.Builder content(Consumer<NotificationEvent.Builder> 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:
content(NotificationEvent)
-
-