Interface RegisterNotificationHubResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<RegisterNotificationHubResponse.Builder,,RegisterNotificationHubResponse> NotificationsResponse.Builder,SdkBuilder<RegisterNotificationHubResponse.Builder,,RegisterNotificationHubResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
RegisterNotificationHubResponse
@Mutable
@NotThreadSafe
public static interface RegisterNotificationHubResponse.Builder
extends NotificationsResponse.Builder, SdkPojo, CopyableBuilder<RegisterNotificationHubResponse.Builder,RegisterNotificationHubResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime(Instant creationTime) The date the resource was created.lastActivationTime(Instant lastActivationTime) The date the resource was last activated.notificationHubRegion(String notificationHubRegion) The Region of theNotificationHub.statusSummary(Consumer<NotificationHubStatusSummary.Builder> statusSummary) Provides additional information about the currentNotificationConfigurationstatus information.statusSummary(NotificationHubStatusSummary statusSummary) Provides additional information about the currentNotificationConfigurationstatus information.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.notifications.model.NotificationsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
notificationHubRegion
The Region of the
NotificationHub.- Parameters:
notificationHubRegion- The Region of theNotificationHub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusSummary
Provides additional information about the current
NotificationConfigurationstatus information.- Parameters:
statusSummary- Provides additional information about the currentNotificationConfigurationstatus information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusSummary
default RegisterNotificationHubResponse.Builder statusSummary(Consumer<NotificationHubStatusSummary.Builder> statusSummary) Provides additional information about the current
This is a convenience method that creates an instance of theNotificationConfigurationstatus information.NotificationHubStatusSummary.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 the resource was created.
- Parameters:
creationTime- The date the resource was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastActivationTime
The date the resource was last activated.
- Parameters:
lastActivationTime- The date the resource was last activated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-