Interface GetArchiveRuleResponse.Builder
-
- All Superinterfaces:
AccessAnalyzerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetArchiveRuleResponse.Builder,GetArchiveRuleResponse>,SdkBuilder<GetArchiveRuleResponse.Builder,GetArchiveRuleResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetArchiveRuleResponse
public static interface GetArchiveRuleResponse.Builder extends AccessAnalyzerResponse.Builder, SdkPojo, CopyableBuilder<GetArchiveRuleResponse.Builder,GetArchiveRuleResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetArchiveRuleResponse.BuilderarchiveRule(Consumer<ArchiveRuleSummary.Builder> archiveRule)Sets the value of the ArchiveRule property for this object.GetArchiveRuleResponse.BuilderarchiveRule(ArchiveRuleSummary archiveRule)Sets the value of the ArchiveRule property for this object.-
Methods inherited from interface software.amazon.awssdk.services.accessanalyzer.model.AccessAnalyzerResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
-
-
-
Method Detail
-
archiveRule
GetArchiveRuleResponse.Builder archiveRule(ArchiveRuleSummary archiveRule)
Sets the value of the ArchiveRule property for this object.- Parameters:
archiveRule- The new value for the ArchiveRule property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
archiveRule
default GetArchiveRuleResponse.Builder archiveRule(Consumer<ArchiveRuleSummary.Builder> archiveRule)
Sets the value of the ArchiveRule property for this object. This is a convenience method that creates an instance of theArchiveRuleSummary.Builderavoiding the need to create one manually viaArchiveRuleSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toarchiveRule(ArchiveRuleSummary).- Parameters:
archiveRule- a consumer that will call methods onArchiveRuleSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
archiveRule(ArchiveRuleSummary)
-
-