Interface NotificationHubOverview.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NotificationHubOverview.Builder,
,NotificationHubOverview> SdkBuilder<NotificationHubOverview.Builder,
,NotificationHubOverview> SdkPojo
- Enclosing class:
NotificationHubOverview
@Mutable
@NotThreadSafe
public static interface NotificationHubOverview.Builder
extends SdkPojo, CopyableBuilder<NotificationHubOverview.Builder,NotificationHubOverview>
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The date and time theNotificationHubOverview
was created.lastActivationTime
(Instant lastActivationTime) The most recent time thisNotificationHub
had anACTIVE
status.notificationHubRegion
(String notificationHubRegion) The Region of the resource.default NotificationHubOverview.Builder
statusSummary
(Consumer<NotificationHubStatusSummary.Builder> statusSummary) The status summary of the resource.statusSummary
(NotificationHubStatusSummary statusSummary) The status summary of the resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
notificationHubRegion
The Region of the resource.
- Parameters:
notificationHubRegion
- The Region of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusSummary
The status summary of the resource.
- Parameters:
statusSummary
- The status summary of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusSummary
default NotificationHubOverview.Builder statusSummary(Consumer<NotificationHubStatusSummary.Builder> statusSummary) The status summary of the resource.
This is a convenience method that creates an instance of theNotificationHubStatusSummary.Builder
avoiding the need to create one manually viaNotificationHubStatusSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatusSummary(NotificationHubStatusSummary)
.- Parameters:
statusSummary
- a consumer that will call methods onNotificationHubStatusSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The date and time the
NotificationHubOverview
was created.- Parameters:
creationTime
- The date and time theNotificationHubOverview
was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastActivationTime
The most recent time this
NotificationHub
had anACTIVE
status.- Parameters:
lastActivationTime
- The most recent time thisNotificationHub
had anACTIVE
status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-