Class CfnResource.Builder
java.lang.Object
software.amazon.smithy.aws.cloudformation.traits.CfnResource.Builder
- All Implemented Interfaces:
SmithyBuilder<CfnResource>
- Enclosing class:
- CfnResource
-
Method Summary
Modifier and TypeMethodDescriptionaddAdditionalIdentifier
(Set<String> additionalIdentifier) addExcludedProperty
(ShapeId excludedProperty) additionalIdentifiers
(List<Set<String>> additionalIdentifiers) addPrimaryIdentifier
(String primaryIdentifier) build()
Creates an immutable object that is created from the properties that have been set on the builder.excludedProperties
(Set<ShapeId> excludedProperties) boolean
hasPropertyDefinition
(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
-
excludedProperties
-
addPrimaryIdentifier
-
-
addAdditionalIdentifier
-
additionalIdentifiers
-
build
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Specified by:
build
in interfaceSmithyBuilder<CfnResource>
- Returns:
- an instance of T
-