Interface GetRuleSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetRuleSetResponse.Builder,
,GetRuleSetResponse> MailManagerResponse.Builder
,SdkBuilder<GetRuleSetResponse.Builder,
,GetRuleSetResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetRuleSetResponse
@Mutable
@NotThreadSafe
public static interface GetRuleSetResponse.Builder
extends MailManagerResponse.Builder, SdkPojo, CopyableBuilder<GetRuleSetResponse.Builder,GetRuleSetResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncreatedDate
(Instant createdDate) The date of when then rule set was created.lastModificationDate
(Instant lastModificationDate) The date of when the rule set was last modified.rules
(Collection<Rule> rules) The rules contained in the rule set.rules
(Consumer<Rule.Builder>... rules) The rules contained in the rule set.The rules contained in the rule set.ruleSetArn
(String ruleSetArn) The Amazon Resource Name (ARN) of the rule set resource.The identifier of the rule set resource.ruleSetName
(String ruleSetName) A user-friendly name for the rule set resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mailmanager.model.MailManagerResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
createdDate
The date of when then rule set was created.
- Parameters:
createdDate
- The date of when then rule set was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModificationDate
The date of when the rule set was last modified.
- Parameters:
lastModificationDate
- The date of when the rule set was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleSetArn
The Amazon Resource Name (ARN) of the rule set resource.
- Parameters:
ruleSetArn
- The Amazon Resource Name (ARN) of the rule set resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleSetId
The identifier of the rule set resource.
- Parameters:
ruleSetId
- The identifier of the rule set resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleSetName
A user-friendly name for the rule set resource.
- Parameters:
ruleSetName
- A user-friendly name for the rule set resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The rules contained in the rule set.
- Parameters:
rules
- The rules contained in the rule set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The rules contained in the rule set.
- Parameters:
rules
- The rules contained in the rule set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The rules contained in the rule set.
This is a convenience method that creates an instance of theRule.Builder
avoiding the need to create one manually viaRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torules(List<Rule>)
.- Parameters:
rules
- a consumer that will call methods onRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-