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