Interface NetworkSite.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkSite.Builder,NetworkSite>,SdkBuilder<NetworkSite.Builder,NetworkSite>,SdkPojo
- Enclosing class:
- NetworkSite
public static interface NetworkSite.Builder extends SdkPojo, CopyableBuilder<NetworkSite.Builder,NetworkSite>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description NetworkSite.BuilderavailabilityZone(String availabilityZone)The parent Availability Zone for the network site.NetworkSite.BuilderavailabilityZoneId(String availabilityZoneId)The parent Availability Zone ID for the network site.NetworkSite.BuildercreatedAt(Instant createdAt)The creation time of the network site.default NetworkSite.BuildercurrentPlan(Consumer<SitePlan.Builder> currentPlan)The current plan of the network site.NetworkSite.BuildercurrentPlan(SitePlan currentPlan)The current plan of the network site.NetworkSite.Builderdescription(String description)The description of the network site.NetworkSite.BuildernetworkArn(String networkArn)The Amazon Resource Name (ARN) of the network to which the network site belongs.NetworkSite.BuildernetworkSiteArn(String networkSiteArn)The Amazon Resource Name (ARN) of the network site.NetworkSite.BuildernetworkSiteName(String networkSiteName)The name of the network site.default NetworkSite.BuilderpendingPlan(Consumer<SitePlan.Builder> pendingPlan)The pending plan of the network site.NetworkSite.BuilderpendingPlan(SitePlan pendingPlan)The pending plan of the network site.NetworkSite.Builderstatus(String status)The status of the network site.NetworkSite.Builderstatus(NetworkSiteStatus status)The status of the network site.NetworkSite.BuilderstatusReason(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 Detail
-
availabilityZone
NetworkSite.Builder availabilityZone(String 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
NetworkSite.Builder availabilityZoneId(String 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
NetworkSite.Builder createdAt(Instant 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
NetworkSite.Builder currentPlan(SitePlan 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
default NetworkSite.Builder currentPlan(Consumer<SitePlan.Builder> currentPlan)
The current plan of the network 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 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:
currentPlan(SitePlan)
-
description
NetworkSite.Builder description(String 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
NetworkSite.Builder networkArn(String 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
NetworkSite.Builder networkSiteArn(String 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
NetworkSite.Builder networkSiteName(String 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
NetworkSite.Builder pendingPlan(SitePlan 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
default NetworkSite.Builder pendingPlan(Consumer<SitePlan.Builder> pendingPlan)
The pending plan of the network 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)
-
status
NetworkSite.Builder status(String 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:
NetworkSiteStatus,NetworkSiteStatus
-
status
NetworkSite.Builder status(NetworkSiteStatus 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:
NetworkSiteStatus,NetworkSiteStatus
-
statusReason
NetworkSite.Builder statusReason(String 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.
-
-