Interface NetworkSite.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkSite.Builder,
,NetworkSite> SdkBuilder<NetworkSite.Builder,
,NetworkSite> SdkPojo
- Enclosing class:
NetworkSite
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) The parent Availability Zone for the network site.availabilityZoneId
(String availabilityZoneId) The parent Availability Zone ID for the network site.The creation time of the network site.default NetworkSite.Builder
currentPlan
(Consumer<SitePlan.Builder> currentPlan) The current plan of the network site.currentPlan
(SitePlan currentPlan) The current plan of the network site.description
(String description) The description of the network site.networkArn
(String networkArn) The Amazon Resource Name (ARN) of the network to which the network site belongs.networkSiteArn
(String networkSiteArn) The Amazon Resource Name (ARN) of the network site.networkSiteName
(String networkSiteName) The name of the network site.default NetworkSite.Builder
pendingPlan
(Consumer<SitePlan.Builder> pendingPlan) The pending plan of the network site.pendingPlan
(SitePlan pendingPlan) The pending plan of the network site.The status of the network site.status
(NetworkSiteStatus status) The status of the network site.statusReason
(String statusReason) The status reason of the network site.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, sdkFields
-
Method Details
-
availabilityZone
The parent Availability Zone for the network site.
- Parameters:
availabilityZone
- The parent Availability Zone for the network site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZoneId
The parent Availability Zone ID for the network site.
- Parameters:
availabilityZoneId
- The parent Availability Zone ID for the network site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The creation time of the network site.
- Parameters:
createdAt
- The creation time of the network site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentPlan
The current plan of the network site.
- Parameters:
currentPlan
- The current plan of the network site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentPlan
The current plan of the network site.
This is a convenience method that creates an instance of theSitePlan.Builder
avoiding the need to create one manually viaSitePlan.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocurrentPlan(SitePlan)
.- Parameters:
currentPlan
- 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:
-
description
The description of the network site.
- Parameters:
description
- The description of the network 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 to which the network site belongs.
- Parameters:
networkArn
- The Amazon Resource Name (ARN) of the network to which the network site belongs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkSiteArn
The Amazon Resource Name (ARN) of the network site.
- Parameters:
networkSiteArn
- The Amazon Resource Name (ARN) of the network site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkSiteName
The name of the network site.
- Parameters:
networkSiteName
- The name of the network site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingPlan
The pending plan of the network site.
- Parameters:
pendingPlan
- The pending plan of the network site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingPlan
The pending plan of the network site.
This is a convenience method that creates an instance of theSitePlan.Builder
avoiding the need to create one manually viaSitePlan.builder()
.When the
Consumer
completes,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:
-
status
The status of the network site.
- Parameters:
status
- The status of the network site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the network site.
- Parameters:
status
- The status of the network site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
The status reason of the network site.
- Parameters:
statusReason
- The status reason of the network site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-