Class CfnService.ServiceVolumeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CfnService.ServiceVolumeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnService.ServiceVolumeConfigurationProperty>
- Enclosing interface:
CfnService.ServiceVolumeConfigurationProperty
@Stability(Stable)
public static final class CfnService.ServiceVolumeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnService.ServiceVolumeConfigurationProperty>
A builder for
CfnService.ServiceVolumeConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.managedEbsVolume(IResolvable managedEbsVolume) Sets the value ofCfnService.ServiceVolumeConfigurationProperty.getManagedEbsVolume()managedEbsVolume(CfnService.ServiceManagedEBSVolumeConfigurationProperty managedEbsVolume) Sets the value ofCfnService.ServiceVolumeConfigurationProperty.getManagedEbsVolume()Sets the value ofCfnService.ServiceVolumeConfigurationProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnService.ServiceVolumeConfigurationProperty.getName()- Parameters:
name- the value to be set. This parameter is required.- Returns:
this
-
managedEbsVolume
@Stability(Stable) public CfnService.ServiceVolumeConfigurationProperty.Builder managedEbsVolume(IResolvable managedEbsVolume) Sets the value ofCfnService.ServiceVolumeConfigurationProperty.getManagedEbsVolume()- Parameters:
managedEbsVolume- the value to be set.- Returns:
this
-
managedEbsVolume
@Stability(Stable) public CfnService.ServiceVolumeConfigurationProperty.Builder managedEbsVolume(CfnService.ServiceManagedEBSVolumeConfigurationProperty managedEbsVolume) Sets the value ofCfnService.ServiceVolumeConfigurationProperty.getManagedEbsVolume()- Parameters:
managedEbsVolume- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnService.ServiceVolumeConfigurationProperty>- Returns:
- a new instance of
CfnService.ServiceVolumeConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-