Interface NetworkInsightsAccessScopeContent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkInsightsAccessScopeContent.Builder,
,NetworkInsightsAccessScopeContent> SdkBuilder<NetworkInsightsAccessScopeContent.Builder,
,NetworkInsightsAccessScopeContent> SdkPojo
- Enclosing class:
NetworkInsightsAccessScopeContent
@Mutable
@NotThreadSafe
public static interface NetworkInsightsAccessScopeContent.Builder
extends SdkPojo, CopyableBuilder<NetworkInsightsAccessScopeContent.Builder,NetworkInsightsAccessScopeContent>
-
Method Summary
Modifier and TypeMethodDescriptionexcludePaths
(Collection<AccessScopePath> excludePaths) The paths to exclude.excludePaths
(Consumer<AccessScopePath.Builder>... excludePaths) The paths to exclude.excludePaths
(AccessScopePath... excludePaths) The paths to exclude.matchPaths
(Collection<AccessScopePath> matchPaths) The paths to match.matchPaths
(Consumer<AccessScopePath.Builder>... matchPaths) The paths to match.matchPaths
(AccessScopePath... matchPaths) The paths to match.networkInsightsAccessScopeId
(String networkInsightsAccessScopeId) The ID of the Network Access Scope.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, sdkFieldNameToField, sdkFields
-
Method Details
-
networkInsightsAccessScopeId
NetworkInsightsAccessScopeContent.Builder networkInsightsAccessScopeId(String networkInsightsAccessScopeId) The ID of the Network Access Scope.
- Parameters:
networkInsightsAccessScopeId
- The ID of the Network Access Scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchPaths
The paths to match.
- Parameters:
matchPaths
- The paths to match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchPaths
The paths to match.
- Parameters:
matchPaths
- The paths to match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchPaths
NetworkInsightsAccessScopeContent.Builder matchPaths(Consumer<AccessScopePath.Builder>... matchPaths) The paths to match.
This is a convenience method that creates an instance of theAccessScopePath.Builder
avoiding the need to create one manually viaAccessScopePath.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomatchPaths(List<AccessScopePath>)
.- Parameters:
matchPaths
- a consumer that will call methods onAccessScopePath.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
excludePaths
The paths to exclude.
- Parameters:
excludePaths
- The paths to exclude.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludePaths
The paths to exclude.
- Parameters:
excludePaths
- The paths to exclude.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludePaths
NetworkInsightsAccessScopeContent.Builder excludePaths(Consumer<AccessScopePath.Builder>... excludePaths) The paths to exclude.
This is a convenience method that creates an instance of theAccessScopePath.Builder
avoiding the need to create one manually viaAccessScopePath.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexcludePaths(List<AccessScopePath>)
.- Parameters:
excludePaths
- a consumer that will call methods onAccessScopePath.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-