Interface NotificationHubOverview.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NotificationHubOverview.Builder,,NotificationHubOverview> SdkBuilder<NotificationHubOverview.Builder,,NotificationHubOverview> SdkPojo
- Enclosing class:
NotificationHubOverview
public static interface NotificationHubOverview.Builder
extends SdkPojo, CopyableBuilder<NotificationHubOverview.Builder,NotificationHubOverview>
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime(Instant creationTime) The date and time theNotificationHubOverviewwas created.lastActivationTime(Instant lastActivationTime) The most recent time thisNotificationHubhad anACTIVEstatus.notificationHubRegion(String notificationHubRegion) The Region of the resource.default NotificationHubOverview.BuilderstatusSummary(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaNotificationHubStatusSummary.builder().When the
Consumercompletes,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
NotificationHubOverviewwas created.- Parameters:
creationTime- The date and time theNotificationHubOverviewwas created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastActivationTime
The most recent time this
NotificationHubhad anACTIVEstatus.- Parameters:
lastActivationTime- The most recent time thisNotificationHubhad anACTIVEstatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-