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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description NotificationHubOverview.BuildercreationTime(Instant creationTime)The date and time theNotificationHubOverviewwas created.NotificationHubOverview.BuilderlastActivationTime(Instant lastActivationTime)The most recent time thisNotificationHubhad anACTIVEstatus.NotificationHubOverview.BuildernotificationHubRegion(String notificationHubRegion)The Region of the resource.default NotificationHubOverview.BuilderstatusSummary(Consumer<NotificationHubStatusSummary.Builder> statusSummary)The status summary of the resource.NotificationHubOverview.BuilderstatusSummary(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 Detail
-
notificationHubRegion
NotificationHubOverview.Builder notificationHubRegion(String 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
NotificationHubOverview.Builder statusSummary(NotificationHubStatusSummary 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:
statusSummary(NotificationHubStatusSummary)
-
creationTime
NotificationHubOverview.Builder creationTime(Instant 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
NotificationHubOverview.Builder lastActivationTime(Instant 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.
-
-