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