Interface DescribeActiveReceiptRuleSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeActiveReceiptRuleSetResponse.Builder,
,DescribeActiveReceiptRuleSetResponse> SdkBuilder<DescribeActiveReceiptRuleSetResponse.Builder,
,DescribeActiveReceiptRuleSetResponse> SdkPojo
,SdkResponse.Builder
,SesResponse.Builder
- Enclosing class:
DescribeActiveReceiptRuleSetResponse
public static interface DescribeActiveReceiptRuleSetResponse.Builder
extends SesResponse.Builder, SdkPojo, CopyableBuilder<DescribeActiveReceiptRuleSetResponse.Builder,DescribeActiveReceiptRuleSetResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmetadata
(Consumer<ReceiptRuleSetMetadata.Builder> metadata) The metadata for the currently active receipt rule set.metadata
(ReceiptRuleSetMetadata metadata) The metadata for the currently active receipt rule set.rules
(Collection<ReceiptRule> rules) The receipt rules that belong to the active rule set.rules
(Consumer<ReceiptRule.Builder>... rules) The receipt rules that belong to the active rule set.rules
(ReceiptRule... rules) The receipt rules that belong to the active 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 Details
-
metadata
The metadata for the currently active receipt rule set. The metadata consists of the rule set name and a timestamp of when the rule set was created.
- Parameters:
metadata
- The metadata for the currently active receipt rule set. The metadata consists of the rule set name and a 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 DescribeActiveReceiptRuleSetResponse.Builder metadata(Consumer<ReceiptRuleSetMetadata.Builder> metadata) The metadata for the currently active receipt rule set. The metadata consists of the rule set name and a 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 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
The receipt rules that belong to the active rule set.
- Parameters:
rules
- The receipt rules that belong to the active rule set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The receipt rules that belong to the active rule set.
- Parameters:
rules
- The receipt rules that belong to the active rule set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The receipt rules that belong to the active rule set.
This is a convenience method that creates an instance of theReceiptRule.Builder
avoiding the need to create one manually viaReceiptRule.builder()
.When the
Consumer
completes,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:
-