Interface GetRuleSetResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRuleSetResponse.Builder,GetRuleSetResponse>,MailManagerResponse.Builder,SdkBuilder<GetRuleSetResponse.Builder,GetRuleSetResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetRuleSetResponse
public static interface GetRuleSetResponse.Builder extends MailManagerResponse.Builder, SdkPojo, CopyableBuilder<GetRuleSetResponse.Builder,GetRuleSetResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetRuleSetResponse.BuildercreatedDate(Instant createdDate)The date of when then rule set was created.GetRuleSetResponse.BuilderlastModificationDate(Instant lastModificationDate)The date of when the rule set was last modified.GetRuleSetResponse.Builderrules(Collection<Rule> rules)The rules contained in the rule set.GetRuleSetResponse.Builderrules(Consumer<Rule.Builder>... rules)The rules contained in the rule set.GetRuleSetResponse.Builderrules(Rule... rules)The rules contained in the rule set.GetRuleSetResponse.BuilderruleSetArn(String ruleSetArn)The Amazon Resource Name (ARN) of the rule set resource.GetRuleSetResponse.BuilderruleSetId(String ruleSetId)The identifier of the rule set resource.GetRuleSetResponse.BuilderruleSetName(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
createdDate
GetRuleSetResponse.Builder createdDate(Instant 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
GetRuleSetResponse.Builder lastModificationDate(Instant 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
GetRuleSetResponse.Builder ruleSetArn(String 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
GetRuleSetResponse.Builder ruleSetId(String 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
GetRuleSetResponse.Builder ruleSetName(String 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
GetRuleSetResponse.Builder rules(Collection<Rule> 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
GetRuleSetResponse.Builder rules(Rule... 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
GetRuleSetResponse.Builder rules(Consumer<Rule.Builder>... rules)
The rules contained in the rule set.
This is a convenience method that creates an instance of theRule.Builderavoiding the need to create one manually viaRule.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 onRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#rules(java.util.Collection)
-
-