Interface CreateServiceNetworkResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateServiceNetworkResponse.Builder,
,CreateServiceNetworkResponse> SdkBuilder<CreateServiceNetworkResponse.Builder,
,CreateServiceNetworkResponse> SdkPojo
,SdkResponse.Builder
,VpcLatticeResponse.Builder
- Enclosing class:
CreateServiceNetworkResponse
@Mutable
@NotThreadSafe
public static interface CreateServiceNetworkResponse.Builder
extends VpcLatticeResponse.Builder, SdkPojo, CopyableBuilder<CreateServiceNetworkResponse.Builder,CreateServiceNetworkResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the service network.The type of IAM policy.The type of IAM policy.The ID of the service network.The name of the service network.sharingConfig
(Consumer<SharingConfig.Builder> sharingConfig) Specifies if the service network is enabled for sharing.sharingConfig
(SharingConfig sharingConfig) Specifies if the service network is enabled for sharing.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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.vpclattice.model.VpcLatticeResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the service network.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the service network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authType
The type of IAM policy.
- Parameters:
authType
- The type of IAM policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authType
The type of IAM policy.
- Parameters:
authType
- The type of IAM policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The ID of the service network.
- Parameters:
id
- The ID of the service network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the service network.
- Parameters:
name
- The name of the service network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sharingConfig
Specifies if the service network is enabled for sharing.
- Parameters:
sharingConfig
- Specifies if the service network is enabled for sharing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sharingConfig
default CreateServiceNetworkResponse.Builder sharingConfig(Consumer<SharingConfig.Builder> sharingConfig) Specifies if the service network is 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:
-