Class CfnSiteProps.Builder
java.lang.Object
software.amazon.awscdk.services.outposts.CfnSiteProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSiteProps>
- Enclosing interface:
CfnSiteProps
@Stability(Stable)
public static final class CfnSiteProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSiteProps>
A builder for
CfnSiteProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnSiteProps.getDescription()Sets the value ofCfnSiteProps.getName()Sets the value ofCfnSiteProps.getNotes()operatingAddress(IResolvable operatingAddress) Sets the value ofCfnSiteProps.getOperatingAddress()operatingAddress(CfnSite.AddressProperty operatingAddress) Sets the value ofCfnSiteProps.getOperatingAddress()rackPhysicalProperties(IResolvable rackPhysicalProperties) Sets the value ofCfnSiteProps.getRackPhysicalProperties()rackPhysicalProperties(CfnSite.RackPhysicalPropertiesProperty rackPhysicalProperties) Sets the value ofCfnSiteProps.getRackPhysicalProperties()shippingAddress(IResolvable shippingAddress) Sets the value ofCfnSiteProps.getShippingAddress()shippingAddress(CfnSite.AddressProperty shippingAddress) Sets the value ofCfnSiteProps.getShippingAddress()Sets the value ofCfnSiteProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnSiteProps.getName()- Parameters:
name- the value to be set. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnSiteProps.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
notes
Sets the value ofCfnSiteProps.getNotes()- Parameters:
notes- the value to be set.- Returns:
this
-
operatingAddress
Sets the value ofCfnSiteProps.getOperatingAddress()- Parameters:
operatingAddress- the value to be set.- Returns:
this
-
operatingAddress
@Stability(Stable) public CfnSiteProps.Builder operatingAddress(CfnSite.AddressProperty operatingAddress) Sets the value ofCfnSiteProps.getOperatingAddress()- Parameters:
operatingAddress- the value to be set.- Returns:
this
-
rackPhysicalProperties
@Stability(Stable) public CfnSiteProps.Builder rackPhysicalProperties(IResolvable rackPhysicalProperties) Sets the value ofCfnSiteProps.getRackPhysicalProperties()- Parameters:
rackPhysicalProperties- the value to be set.- Returns:
this
-
rackPhysicalProperties
@Stability(Stable) public CfnSiteProps.Builder rackPhysicalProperties(CfnSite.RackPhysicalPropertiesProperty rackPhysicalProperties) Sets the value ofCfnSiteProps.getRackPhysicalProperties()- Parameters:
rackPhysicalProperties- the value to be set.- Returns:
this
-
shippingAddress
Sets the value ofCfnSiteProps.getShippingAddress()- Parameters:
shippingAddress- the value to be set.- Returns:
this
-
shippingAddress
@Stability(Stable) public CfnSiteProps.Builder shippingAddress(CfnSite.AddressProperty shippingAddress) Sets the value ofCfnSiteProps.getShippingAddress()- Parameters:
shippingAddress- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnSiteProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSiteProps>- Returns:
- a new instance of
CfnSiteProps - Throws:
NullPointerException- if any required attribute was not provided
-