Interface ListReceiptRuleSetsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListReceiptRuleSetsResponse.Builder,ListReceiptRuleSetsResponse>
,SdkBuilder<ListReceiptRuleSetsResponse.Builder,ListReceiptRuleSetsResponse>
,SdkPojo
,SdkResponse.Builder
,SesResponse.Builder
- Enclosing class:
- ListReceiptRuleSetsResponse
public static interface ListReceiptRuleSetsResponse.Builder extends SesResponse.Builder, SdkPojo, CopyableBuilder<ListReceiptRuleSetsResponse.Builder,ListReceiptRuleSetsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListReceiptRuleSetsResponse.Builder
nextToken(String nextToken)
A token indicating that there are additional receipt rule sets available to be listed.ListReceiptRuleSetsResponse.Builder
ruleSets(Collection<ReceiptRuleSetMetadata> ruleSets)
The metadata for the currently active receipt rule set.ListReceiptRuleSetsResponse.Builder
ruleSets(Consumer<ReceiptRuleSetMetadata.Builder>... ruleSets)
The metadata for the currently active receipt rule set.ListReceiptRuleSetsResponse.Builder
ruleSets(ReceiptRuleSetMetadata... ruleSets)
The metadata for the currently active receipt rule set.-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.ses.model.SesResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
ruleSets
ListReceiptRuleSetsResponse.Builder ruleSets(Collection<ReceiptRuleSetMetadata> ruleSets)
The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.
- Parameters:
ruleSets
- The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleSets
ListReceiptRuleSetsResponse.Builder ruleSets(ReceiptRuleSetMetadata... ruleSets)
The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.
- Parameters:
ruleSets
- The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleSets
ListReceiptRuleSetsResponse.Builder ruleSets(Consumer<ReceiptRuleSetMetadata.Builder>... ruleSets)
The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.
This is a convenience method that creates an instance of theReceiptRuleSetMetadata.Builder
avoiding the need to create one manually viaReceiptRuleSetMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#ruleSets(List
.) - Parameters:
ruleSets
- a consumer that will call methods onReceiptRuleSetMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#ruleSets(java.util.Collection
)
-
nextToken
ListReceiptRuleSetsResponse.Builder nextToken(String nextToken)
A token indicating that there are additional receipt rule sets available to be listed. Pass this token to successive calls of
ListReceiptRuleSets
to retrieve up to 100 receipt rule sets at a time.- Parameters:
nextToken
- A token indicating that there are additional receipt rule sets available to be listed. Pass this token to successive calls ofListReceiptRuleSets
to retrieve up to 100 receipt rule sets at a time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-