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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeActiveReceiptRuleSetResponse.Buildermetadata(Consumer<ReceiptRuleSetMetadata.Builder> metadata)The metadata for the currently active receipt rule set.DescribeActiveReceiptRuleSetResponse.Buildermetadata(ReceiptRuleSetMetadata metadata)The metadata for the currently active receipt rule set.DescribeActiveReceiptRuleSetResponse.Builderrules(Collection<ReceiptRule> rules)The receipt rules that belong to the active rule set.DescribeActiveReceiptRuleSetResponse.Builderrules(Consumer<ReceiptRule.Builder>... rules)The receipt rules that belong to the active rule set.DescribeActiveReceiptRuleSetResponse.Builderrules(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, sdkFieldNameToField, 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
-
metadata
DescribeActiveReceiptRuleSetResponse.Builder metadata(ReceiptRuleSetMetadata 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.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:
metadata(ReceiptRuleSetMetadata)
-
rules
DescribeActiveReceiptRuleSetResponse.Builder rules(Collection<ReceiptRule> 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
DescribeActiveReceiptRuleSetResponse.Builder rules(ReceiptRule... 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
DescribeActiveReceiptRuleSetResponse.Builder rules(Consumer<ReceiptRule.Builder>... rules)
The receipt rules that belong to the active 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 to#rules(List.) - 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:
#rules(java.util.Collection)
-
-