Class SiteReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.networkmanager.SiteReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SiteReference>
- Enclosing interface:
SiteReference
@Stability(Stable)
public static final class SiteReference.Builder
extends Object
implements software.amazon.jsii.Builder<SiteReference>
A builder for
SiteReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.globalNetworkId(String globalNetworkId) Sets the value ofSiteReference.getGlobalNetworkId()Sets the value ofSiteReference.getSiteArn()Sets the value ofSiteReference.getSiteId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
globalNetworkId
Sets the value ofSiteReference.getGlobalNetworkId()- Parameters:
globalNetworkId- The GlobalNetworkId of the Site resource. This parameter is required.- Returns:
this
-
siteArn
Sets the value ofSiteReference.getSiteArn()- Parameters:
siteArn- The ARN of the Site resource. This parameter is required.- Returns:
this
-
siteId
Sets the value ofSiteReference.getSiteId()- Parameters:
siteId- The SiteId of the Site resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SiteReference>- Returns:
- a new instance of
SiteReference - Throws:
NullPointerException- if any required attribute was not provided
-