Interface CreateNetworkSiteRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateNetworkSiteRequest.Builder,CreateNetworkSiteRequest>,PrivateNetworksRequest.Builder,SdkBuilder<CreateNetworkSiteRequest.Builder,CreateNetworkSiteRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateNetworkSiteRequest
public static interface CreateNetworkSiteRequest.Builder extends PrivateNetworksRequest.Builder, SdkPojo, CopyableBuilder<CreateNetworkSiteRequest.Builder,CreateNetworkSiteRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateNetworkSiteRequest.BuilderavailabilityZone(String availabilityZone)The Availability Zone that is the parent of this site.CreateNetworkSiteRequest.BuilderavailabilityZoneId(String availabilityZoneId)The ID of the Availability Zone that is the parent of this site.CreateNetworkSiteRequest.BuilderclientToken(String clientToken)Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.CreateNetworkSiteRequest.Builderdescription(String description)The description of the site.CreateNetworkSiteRequest.BuildernetworkArn(String networkArn)The Amazon Resource Name (ARN) of the network.CreateNetworkSiteRequest.BuildernetworkSiteName(String networkSiteName)The name of the site.CreateNetworkSiteRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateNetworkSiteRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateNetworkSiteRequest.BuilderpendingPlan(Consumer<SitePlan.Builder> pendingPlan)Information about the pending plan for this site.CreateNetworkSiteRequest.BuilderpendingPlan(SitePlan pendingPlan)Information about the pending plan for this site.CreateNetworkSiteRequest.Buildertags(Map<String,String> tags)The tags to apply to the network site.-
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.services.privatenetworks.model.PrivateNetworksRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
availabilityZone
CreateNetworkSiteRequest.Builder availabilityZone(String 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
CreateNetworkSiteRequest.Builder availabilityZoneId(String 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
CreateNetworkSiteRequest.Builder clientToken(String 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
CreateNetworkSiteRequest.Builder description(String 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
CreateNetworkSiteRequest.Builder networkArn(String 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
CreateNetworkSiteRequest.Builder networkSiteName(String 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
CreateNetworkSiteRequest.Builder pendingPlan(SitePlan 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
default CreateNetworkSiteRequest.Builder pendingPlan(Consumer<SitePlan.Builder> 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:
pendingPlan(SitePlan)
-
tags
CreateNetworkSiteRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateNetworkSiteRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-