Interface CreateNetworkSiteRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateNetworkSiteRequest.Builder,,CreateNetworkSiteRequest> PrivateNetworksRequest.Builder,SdkBuilder<CreateNetworkSiteRequest.Builder,,CreateNetworkSiteRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateNetworkSiteRequest
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) The Availability Zone that is the parent of this site.availabilityZoneId(String availabilityZoneId) The ID of the Availability Zone that is the parent of this site.clientToken(String clientToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.description(String description) The description of the site.networkArn(String networkArn) The Amazon Resource Name (ARN) of the network.networkSiteName(String networkSiteName) The name of the site.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateNetworkSiteRequest.BuilderpendingPlan(Consumer<SitePlan.Builder> pendingPlan) Information about the pending plan for this site.pendingPlan(SitePlan pendingPlan) Information about the pending plan for this site.The tags to apply to the network site.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.privatenetworks.model.PrivateNetworksRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
availabilityZone
The Availability Zone that is the parent of this site. You can't change the Availability Zone after you create the site.
- Parameters:
availabilityZone- The Availability Zone that is the parent of this site. You can't change the Availability Zone after you create the site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZoneId
The ID of the Availability Zone that is the parent of this site. You can't change the Availability Zone after you create the site.
- Parameters:
availabilityZoneId- The ID of the Availability Zone that is the parent of this site. You can't change the Availability Zone after you create the site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
- Parameters:
clientToken- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the site.
- Parameters:
description- The description of the site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkArn
The Amazon Resource Name (ARN) of the network.
- Parameters:
networkArn- The Amazon Resource Name (ARN) of the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkSiteName
The name of the site. You can't change the name after you create the site.
- Parameters:
networkSiteName- The name of the site. You can't change the name after you create the site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingPlan
Information about the pending plan for this site.
- Parameters:
pendingPlan- Information about the pending plan for this site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingPlan
Information about the pending plan for this site.
This is a convenience method that creates an instance of theSitePlan.Builderavoiding the need to create one manually viaSitePlan.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topendingPlan(SitePlan).- Parameters:
pendingPlan- a consumer that will call methods onSitePlan.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags to apply to the network site.
- Parameters:
tags- The tags to apply to the network site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateNetworkSiteRequest.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
CreateNetworkSiteRequest.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.
-