Interface ListReceiptRuleSetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListReceiptRuleSetsResponse.Builder,,ListReceiptRuleSetsResponse> SdkBuilder<ListReceiptRuleSetsResponse.Builder,,ListReceiptRuleSetsResponse> SdkPojo,SdkResponse.Builder,SesResponse.Builder
- Enclosing class:
ListReceiptRuleSetsResponse
-
Method Summary
Modifier and TypeMethodDescriptionA token indicating that there are additional receipt rule sets available to be listed.ruleSets(Collection<ReceiptRuleSetMetadata> ruleSets) The metadata for the currently active receipt rule set.ruleSets(Consumer<ReceiptRuleSetMetadata.Builder>... ruleSets) The metadata for the currently active receipt rule set.ruleSets(ReceiptRuleSetMetadata... ruleSets) The metadata for the currently active receipt rule set.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.ses.model.SesResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
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
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
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.Builderavoiding the need to create one manually viaReceiptRuleSetMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toruleSets(List<ReceiptRuleSetMetadata>).- 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:
-
nextToken
A token indicating that there are additional receipt rule sets available to be listed. Pass this token to successive calls of
ListReceiptRuleSetsto 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 ofListReceiptRuleSetsto 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.
-