Class CfnOutpostProps.Builder
java.lang.Object
software.amazon.awscdk.services.outposts.CfnOutpostProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOutpostProps>
- Enclosing interface:
CfnOutpostProps
@Stability(Stable)
public static final class CfnOutpostProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOutpostProps>
A builder for
CfnOutpostProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) Sets the value ofCfnOutpostProps.getAvailabilityZone()availabilityZoneId(String availabilityZoneId) Sets the value ofCfnOutpostProps.getAvailabilityZoneId()build()Builds the configured instance.description(String description) Sets the value ofCfnOutpostProps.getDescription()Sets the value ofCfnOutpostProps.getName()Sets the value ofCfnOutpostProps.getSiteId()supportedHardwareType(String supportedHardwareType) Sets the value ofCfnOutpostProps.getSupportedHardwareType()Sets the value ofCfnOutpostProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnOutpostProps.getName()- Parameters:
name- the value to be set. This parameter is required.- Returns:
this
-
siteId
Sets the value ofCfnOutpostProps.getSiteId()- Parameters:
siteId- the value to be set. This parameter is required.- Returns:
this
-
availabilityZone
Sets the value ofCfnOutpostProps.getAvailabilityZone()- Parameters:
availabilityZone- the value to be set.- Returns:
this
-
availabilityZoneId
Sets the value ofCfnOutpostProps.getAvailabilityZoneId()- Parameters:
availabilityZoneId- the value to be set.- Returns:
this
-
description
Sets the value ofCfnOutpostProps.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
supportedHardwareType
@Stability(Stable) public CfnOutpostProps.Builder supportedHardwareType(String supportedHardwareType) Sets the value ofCfnOutpostProps.getSupportedHardwareType()- Parameters:
supportedHardwareType- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnOutpostProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOutpostProps>- Returns:
- a new instance of
CfnOutpostProps - Throws:
NullPointerException- if any required attribute was not provided
-