Class CfnResource.Builder
java.lang.Object
software.amazon.smithy.aws.cloudformation.traits.CfnResource.Builder
- All Implemented Interfaces:
software.amazon.smithy.utils.SmithyBuilder<CfnResource>
- Enclosing class:
- CfnResource
public static final class CfnResource.Builder
extends Object
implements software.amazon.smithy.utils.SmithyBuilder<CfnResource>
-
Method Summary
Modifier and TypeMethodDescriptionaddAdditionalIdentifier(Set<String> additionalIdentifier) addExcludedProperty(software.amazon.smithy.model.shapes.ShapeId excludedProperty) additionalIdentifiers(List<Set<String>> additionalIdentifiers) addPrimaryIdentifier(String primaryIdentifier) build()excludedProperties(Set<software.amazon.smithy.model.shapes.ShapeId> excludedProperties) booleanhasPropertyDefinition(String propertyName) primaryIdentifiers(Set<String> primaryIdentifiers) propertyDefinitions(Map<String, CfnResourceProperty> propertyDefinitions) putPropertyDefinition(String propertyName, CfnResourceProperty definition) updatePropertyDefinition(String propertyName, Function<CfnResourceProperty, CfnResourceProperty> updater)
-
Method Details
-
hasPropertyDefinition
-
putPropertyDefinition
public CfnResource.Builder putPropertyDefinition(String propertyName, CfnResourceProperty definition) -
updatePropertyDefinition
public CfnResource.Builder updatePropertyDefinition(String propertyName, Function<CfnResourceProperty, CfnResourceProperty> updater) -
propertyDefinitions
-
addExcludedProperty
public CfnResource.Builder addExcludedProperty(software.amazon.smithy.model.shapes.ShapeId excludedProperty) -
excludedProperties
public CfnResource.Builder excludedProperties(Set<software.amazon.smithy.model.shapes.ShapeId> excludedProperties) -
addPrimaryIdentifier
-
-
addAdditionalIdentifier
-
additionalIdentifiers
-
build
- Specified by:
buildin interfacesoftware.amazon.smithy.utils.SmithyBuilder<CfnResource>
-