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