Interface GetServiceNetworkResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetServiceNetworkResponse.Builder,
,GetServiceNetworkResponse> SdkBuilder<GetServiceNetworkResponse.Builder,
,GetServiceNetworkResponse> SdkPojo
,SdkResponse.Builder
,VpcLatticeResponse.Builder
- Enclosing class:
GetServiceNetworkResponse
@Mutable
@NotThreadSafe
public static interface GetServiceNetworkResponse.Builder
extends VpcLatticeResponse.Builder, SdkPojo, CopyableBuilder<GetServiceNetworkResponse.Builder,GetServiceNetworkResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the service network.The type of IAM policy.The type of IAM policy.The date and time that the service network was created, in ISO-8601 format.The ID of the service network.lastUpdatedAt
(Instant lastUpdatedAt) The date and time of the last update, in ISO-8601 format.The name of the service network.numberOfAssociatedServices
(Long numberOfAssociatedServices) The number of services associated with the service network.numberOfAssociatedVPCs
(Long numberOfAssociatedVPCs) The number of VPCs associated with 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:
-
createdAt
The date and time that the service network was created, in ISO-8601 format.
- Parameters:
createdAt
- The date and time that the service network was created, in ISO-8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
lastUpdatedAt
The date and time of the last update, in ISO-8601 format.
- Parameters:
lastUpdatedAt
- The date and time of the last update, in ISO-8601 format.- 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.
-
numberOfAssociatedServices
The number of services associated with the service network.
- Parameters:
numberOfAssociatedServices
- The number of services associated with the service network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfAssociatedVPCs
The number of VPCs associated with the service network.
- Parameters:
numberOfAssociatedVPCs
- The number of VPCs associated with 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 GetServiceNetworkResponse.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:
-