Interface ListDomainMaintenancesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDomainMaintenancesResponse.Builder,
,ListDomainMaintenancesResponse> OpenSearchResponse.Builder
,SdkBuilder<ListDomainMaintenancesResponse.Builder,
,ListDomainMaintenancesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListDomainMaintenancesResponse
public static interface ListDomainMaintenancesResponse.Builder
extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<ListDomainMaintenancesResponse.Builder,ListDomainMaintenancesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondomainMaintenances
(Collection<DomainMaintenanceDetails> domainMaintenances) A list of the submitted maintenance actions.domainMaintenances
(Consumer<DomainMaintenanceDetails.Builder>... domainMaintenances) A list of the submitted maintenance actions.domainMaintenances
(DomainMaintenanceDetails... domainMaintenances) A list of the submitted maintenance actions.WhennextToken
is returned, there are more results available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
domainMaintenances
ListDomainMaintenancesResponse.Builder domainMaintenances(Collection<DomainMaintenanceDetails> domainMaintenances) A list of the submitted maintenance actions.
- Parameters:
domainMaintenances
- A list of the submitted maintenance actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainMaintenances
ListDomainMaintenancesResponse.Builder domainMaintenances(DomainMaintenanceDetails... domainMaintenances) A list of the submitted maintenance actions.
- Parameters:
domainMaintenances
- A list of the submitted maintenance actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainMaintenances
ListDomainMaintenancesResponse.Builder domainMaintenances(Consumer<DomainMaintenanceDetails.Builder>... domainMaintenances) A list of the submitted maintenance actions.
This is a convenience method that creates an instance of theDomainMaintenanceDetails.Builder
avoiding the need to create one manually viaDomainMaintenanceDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todomainMaintenances(List<DomainMaintenanceDetails>)
.- Parameters:
domainMaintenances
- a consumer that will call methods onDomainMaintenanceDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
When
nextToken
is returned, there are more results available. The value ofnextToken
is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.- Parameters:
nextToken
- WhennextToken
is returned, there are more results available. The value ofnextToken
is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-