Interface ListNotificationsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListNotificationsRequest.Builder,
,ListNotificationsRequest> DataZoneRequest.Builder
,SdkBuilder<ListNotificationsRequest.Builder,
,ListNotificationsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListNotificationsRequest
-
Method Summary
Modifier and TypeMethodDescriptionafterTimestamp
(Instant afterTimestamp) The time after which you want to list notifications.beforeTimestamp
(Instant beforeTimestamp) The time before which you want to list notifications.domainIdentifier
(String domainIdentifier) The identifier of the Amazon DataZone domain.maxResults
(Integer maxResults) The maximum number of notifications to return in a single call toListNotifications
.When the number of notifications is greater than the default value for theMaxResults
parameter, or if you explicitly specify a value forMaxResults
that is less than the number of notifications, the response includes a pagination token namedNextToken
.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The subjects of notifications.subjects
(Collection<String> subjects) The subjects of notifications.taskStatus
(String taskStatus) The task status of notifications.taskStatus
(TaskStatus taskStatus) The task status of notifications.The type of notifications.type
(NotificationType type) The type of notifications.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
afterTimestamp
The time after which you want to list notifications.
- Parameters:
afterTimestamp
- The time after which you want to list notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
beforeTimestamp
The time before which you want to list notifications.
- Parameters:
beforeTimestamp
- The time before which you want to list notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainIdentifier
The identifier of the Amazon DataZone domain.
- Parameters:
domainIdentifier
- The identifier of the Amazon DataZone domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of notifications to return in a single call to
ListNotifications
. When the number of notifications to be listed is greater than the value ofMaxResults
, the response contains aNextToken
value that you can use in a subsequent call toListNotifications
to list the next set of notifications.- Parameters:
maxResults
- The maximum number of notifications to return in a single call toListNotifications
. When the number of notifications to be listed is greater than the value ofMaxResults
, the response contains aNextToken
value that you can use in a subsequent call toListNotifications
to list the next set of notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
When the number of notifications is greater than the default value for the
MaxResults
parameter, or if you explicitly specify a value forMaxResults
that is less than the number of notifications, the response includes a pagination token namedNextToken
. You can specify thisNextToken
value in a subsequent call toListNotifications
to list the next set of notifications.- Parameters:
nextToken
- When the number of notifications is greater than the default value for theMaxResults
parameter, or if you explicitly specify a value forMaxResults
that is less than the number of notifications, the response includes a pagination token namedNextToken
. You can specify thisNextToken
value in a subsequent call toListNotifications
to list the next set of notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subjects
The subjects of notifications.
- Parameters:
subjects
- The subjects of notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subjects
The subjects of notifications.
- Parameters:
subjects
- The subjects of notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskStatus
The task status of notifications.
- Parameters:
taskStatus
- The task status of notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
taskStatus
The task status of notifications.
- Parameters:
taskStatus
- The task status of notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of notifications.
- Parameters:
type
- The type of notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of notifications.
- Parameters:
type
- The type of notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListNotificationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListNotificationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-