Interface CreateServiceNetworkRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateServiceNetworkRequest.Builder,
,CreateServiceNetworkRequest> SdkBuilder<CreateServiceNetworkRequest.Builder,
,CreateServiceNetworkRequest> SdkPojo
,SdkRequest.Builder
,VpcLatticeRequest.Builder
- Enclosing class:
CreateServiceNetworkRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe type of IAM policy.The type of IAM policy.clientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.The name of the service network.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sharingConfig
(Consumer<SharingConfig.Builder> sharingConfig) Specify if the service network should be enabled for sharing.sharingConfig
(SharingConfig sharingConfig) Specify if the service network should be enabled for sharing.The tags for the service network.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
Methods inherited from interface software.amazon.awssdk.services.vpclattice.model.VpcLatticeRequest.Builder
build
-
Method Details
-
authType
The type of IAM policy.
-
NONE
: The resource does not use an IAM policy. This is the default. -
AWS_IAM
: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
- Parameters:
authType
- The type of IAM policy.-
NONE
: The resource does not use an IAM policy. This is the default. -
AWS_IAM
: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
authType
The type of IAM policy.
-
NONE
: The resource does not use an IAM policy. This is the default. -
AWS_IAM
: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
- Parameters:
authType
- The type of IAM policy.-
NONE
: The resource does not use an IAM policy. This is the default. -
AWS_IAM
: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
- Parameters:
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the service network. The name must be unique to the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
- Parameters:
name
- The name of the service network. The name must be unique to the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sharingConfig
Specify if the service network should be enabled for sharing.
- Parameters:
sharingConfig
- Specify if the service network should be enabled for sharing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sharingConfig
default CreateServiceNetworkRequest.Builder sharingConfig(Consumer<SharingConfig.Builder> sharingConfig) Specify if the service network should be enabled for sharing.
This is a convenience method that creates an instance of theSharingConfig.Builder
avoiding the need to create one manually viaSharingConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosharingConfig(SharingConfig)
.- Parameters:
sharingConfig
- a consumer that will call methods onSharingConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags for the service network.
- Parameters:
tags
- The tags for the service network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateServiceNetworkRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateServiceNetworkRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-