Class CfnResourceSetMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.fms.CfnResourceSetMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceSetMixinProps>
- Enclosing interface:
CfnResourceSetMixinProps
@Stability(Stable)
public static final class CfnResourceSetMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceSetMixinProps>
A builder for
CfnResourceSetMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnResourceSetMixinProps.getDescription()Sets the value ofCfnResourceSetMixinProps.getName()Sets the value ofCfnResourceSetMixinProps.getResources()resourceTypeList(List<String> resourceTypeList) Sets the value ofCfnResourceSetMixinProps.getResourceTypeList()Sets the value ofCfnResourceSetMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnResourceSetMixinProps.getDescription()- Parameters:
description- A description of the resource set.- Returns:
this
-
name
Sets the value ofCfnResourceSetMixinProps.getName()- Parameters:
name- The descriptive name of the resource set. You can't change the name of a resource set after you create it.- Returns:
this
-
resources
Sets the value ofCfnResourceSetMixinProps.getResources()- Parameters:
resources- the value to be set.- Returns:
this
-
resourceTypeList
@Stability(Stable) public CfnResourceSetMixinProps.Builder resourceTypeList(List<String> resourceTypeList) Sets the value ofCfnResourceSetMixinProps.getResourceTypeList()- Parameters:
resourceTypeList- Determines the resources that can be associated to the resource set. Depending on your setting for max results and the number of resource sets, a single call might not return the full list.- Returns:
this
-
tags
Sets the value ofCfnResourceSetMixinProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceSetMixinProps>- Returns:
- a new instance of
CfnResourceSetMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-