Interface DescribeReceiptRuleSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeReceiptRuleSetResponse.Builder,,DescribeReceiptRuleSetResponse> SdkBuilder<DescribeReceiptRuleSetResponse.Builder,,DescribeReceiptRuleSetResponse> SdkPojo,SdkResponse.Builder,SesResponse.Builder
- Enclosing class:
DescribeReceiptRuleSetResponse
-
Method Summary
Modifier and TypeMethodDescriptionmetadata(Consumer<ReceiptRuleSetMetadata.Builder> metadata) The metadata for the receipt rule set, which consists of the rule set name and the timestamp of when the rule set was created.metadata(ReceiptRuleSetMetadata metadata) The metadata for the receipt rule set, which consists of the rule set name and the timestamp of when the rule set was created.rules(Collection<ReceiptRule> rules) A list of the receipt rules that belong to the specified receipt rule set.rules(Consumer<ReceiptRule.Builder>... rules) A list of the receipt rules that belong to the specified receipt rule set.rules(ReceiptRule... rules) A list of the receipt rules that belong to the specified 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, 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
-
metadata
The metadata for the receipt rule set, which consists of the rule set name and the timestamp of when the rule set was created.
- Parameters:
metadata- The metadata for the receipt rule set, which 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.
-
metadata
default DescribeReceiptRuleSetResponse.Builder metadata(Consumer<ReceiptRuleSetMetadata.Builder> metadata) The metadata for the receipt rule set, which 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 tometadata(ReceiptRuleSetMetadata).- Parameters:
metadata- 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:
-
rules
A list of the receipt rules that belong to the specified receipt rule set.
- Parameters:
rules- A list of the receipt rules that belong to the specified receipt rule set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
A list of the receipt rules that belong to the specified receipt rule set.
- Parameters:
rules- A list of the receipt rules that belong to the specified receipt rule set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
A list of the receipt rules that belong to the specified receipt rule set.
This is a convenience method that creates an instance of theReceiptRule.Builderavoiding the need to create one manually viaReceiptRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torules(List<ReceiptRule>).- Parameters:
rules- a consumer that will call methods onReceiptRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-