Interface DescribeReceiptRuleSetResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeReceiptRuleSetResponse.Builder,DescribeReceiptRuleSetResponse>,SdkBuilder<DescribeReceiptRuleSetResponse.Builder,DescribeReceiptRuleSetResponse>,SdkPojo,SdkResponse.Builder,SesResponse.Builder
- Enclosing class:
- DescribeReceiptRuleSetResponse
public static interface DescribeReceiptRuleSetResponse.Builder extends SesResponse.Builder, SdkPojo, CopyableBuilder<DescribeReceiptRuleSetResponse.Builder,DescribeReceiptRuleSetResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeReceiptRuleSetResponse.Buildermetadata(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.DescribeReceiptRuleSetResponse.Buildermetadata(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.DescribeReceiptRuleSetResponse.Builderrules(Collection<ReceiptRule> rules)A list of the receipt rules that belong to the specified receipt rule set.DescribeReceiptRuleSetResponse.Builderrules(Consumer<ReceiptRule.Builder>... rules)A list of the receipt rules that belong to the specified receipt rule set.DescribeReceiptRuleSetResponse.Builderrules(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
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
DescribeReceiptRuleSetResponse.Builder 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.
- 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:
metadata(ReceiptRuleSetMetadata)
-
rules
DescribeReceiptRuleSetResponse.Builder rules(Collection<ReceiptRule> 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
DescribeReceiptRuleSetResponse.Builder rules(ReceiptRule... 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
DescribeReceiptRuleSetResponse.Builder rules(Consumer<ReceiptRule.Builder>... 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 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)
-
-