Interface ListArchiveRulesResponse.Builder
-
- All Superinterfaces:
AccessAnalyzerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListArchiveRulesResponse.Builder,ListArchiveRulesResponse>,SdkBuilder<ListArchiveRulesResponse.Builder,ListArchiveRulesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListArchiveRulesResponse
public static interface ListArchiveRulesResponse.Builder extends AccessAnalyzerResponse.Builder, SdkPojo, CopyableBuilder<ListArchiveRulesResponse.Builder,ListArchiveRulesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListArchiveRulesResponse.BuilderarchiveRules(Collection<ArchiveRuleSummary> archiveRules)A list of archive rules created for the specified analyzer.ListArchiveRulesResponse.BuilderarchiveRules(Consumer<ArchiveRuleSummary.Builder>... archiveRules)A list of archive rules created for the specified analyzer.ListArchiveRulesResponse.BuilderarchiveRules(ArchiveRuleSummary... archiveRules)A list of archive rules created for the specified analyzer.ListArchiveRulesResponse.BuildernextToken(String nextToken)A token used for pagination of results returned.-
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
-
archiveRules
ListArchiveRulesResponse.Builder archiveRules(Collection<ArchiveRuleSummary> archiveRules)
A list of archive rules created for the specified analyzer.
- Parameters:
archiveRules- A list of archive rules created for the specified analyzer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
archiveRules
ListArchiveRulesResponse.Builder archiveRules(ArchiveRuleSummary... archiveRules)
A list of archive rules created for the specified analyzer.
- Parameters:
archiveRules- A list of archive rules created for the specified analyzer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
archiveRules
ListArchiveRulesResponse.Builder archiveRules(Consumer<ArchiveRuleSummary.Builder>... archiveRules)
A list of archive rules created for the specified analyzer.
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 to#archiveRules(List.) - Parameters:
archiveRules- 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:
#archiveRules(java.util.Collection)
-
nextToken
ListArchiveRulesResponse.Builder nextToken(String nextToken)
A token used for pagination of results returned.
- Parameters:
nextToken- A token used for pagination of results returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-