Interface ListNetworkScopePrincipalsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListNetworkScopePrincipalsRequest.Builder,,ListNetworkScopePrincipalsRequest> NetworkManagerRequest.Builder,SdkBuilder<ListNetworkScopePrincipalsRequest.Builder,,ListNetworkScopePrincipalsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListNetworkScopePrincipalsRequest
@Mutable
@NotThreadSafe
public static interface ListNetworkScopePrincipalsRequest.Builder
extends NetworkManagerRequest.Builder, SdkPojo, CopyableBuilder<ListNetworkScopePrincipalsRequest.Builder,ListNetworkScopePrincipalsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of results to return.networkScopeId(String networkScopeId) The ID of the network scope.The token for the next page of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.principals(String... principals) The principals to return.principals(Collection<String> principals) The principals to return.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
networkScopeId
The ID of the network scope.
- Parameters:
networkScopeId- The ID of the network scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principals
The principals to return. Only principals that are associated with the network scope are returned, so a page can contain fewer than
MaxResultsprincipals and still include aNextToken. You can specify from 1 to 100 principals.- Parameters:
principals- The principals to return. Only principals that are associated with the network scope are returned, so a page can contain fewer thanMaxResultsprincipals and still include aNextToken. You can specify from 1 to 100 principals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principals
The principals to return. Only principals that are associated with the network scope are returned, so a page can contain fewer than
MaxResultsprincipals and still include aNextToken. You can specify from 1 to 100 principals.- Parameters:
principals- The principals to return. Only principals that are associated with the network scope are returned, so a page can contain fewer thanMaxResultsprincipals and still include aNextToken. You can specify from 1 to 100 principals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return. Valid values are from 1 to 500.
- Parameters:
maxResults- The maximum number of results to return. Valid values are from 1 to 500.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next page of results.
- Parameters:
nextToken- The token for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListNetworkScopePrincipalsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListNetworkScopePrincipalsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-