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
Modifier and TypeMethodDescriptiondefault GetArchiveRuleResponse.BuilderarchiveRule(Consumer<ArchiveRuleSummary.Builder> archiveRule) Sets the value of the ArchiveRule property for this object.archiveRule(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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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:
-