public static final class CfnResource.Builder extends java.lang.Object implements SmithyBuilder<CfnResource>
Modifier and Type | Method and Description |
---|---|
CfnResource.Builder |
addAdditionalIdentifier(java.util.Set<java.lang.String> additionalIdentifier) |
CfnResource.Builder |
addExcludedProperty(ShapeId excludedProperty) |
CfnResource.Builder |
additionalIdentifiers(java.util.List<java.util.Set<java.lang.String>> additionalIdentifiers) |
CfnResource.Builder |
addPrimaryIdentifier(java.lang.String primaryIdentifier) |
CfnResource |
build()
Creates an immutable object that is created from the properties
that have been set on the builder.
|
CfnResource.Builder |
excludedProperties(java.util.Set<ShapeId> excludedProperties) |
boolean |
hasPropertyDefinition(java.lang.String propertyName) |
CfnResource.Builder |
primaryIdentifiers(java.util.Set<java.lang.String> primaryIdentifiers) |
CfnResource.Builder |
propertyDefinitions(java.util.Map<java.lang.String,CfnResourceProperty> propertyDefinitions) |
CfnResource.Builder |
putPropertyDefinition(java.lang.String propertyName,
CfnResourceProperty definition) |
CfnResource.Builder |
updatePropertyDefinition(java.lang.String propertyName,
java.util.function.Function<CfnResourceProperty,CfnResourceProperty> updater) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public boolean hasPropertyDefinition(java.lang.String propertyName)
public CfnResource.Builder putPropertyDefinition(java.lang.String propertyName, CfnResourceProperty definition)
public CfnResource.Builder updatePropertyDefinition(java.lang.String propertyName, java.util.function.Function<CfnResourceProperty,CfnResourceProperty> updater)
public CfnResource.Builder propertyDefinitions(java.util.Map<java.lang.String,CfnResourceProperty> propertyDefinitions)
public CfnResource.Builder addExcludedProperty(ShapeId excludedProperty)
public CfnResource.Builder excludedProperties(java.util.Set<ShapeId> excludedProperties)
public CfnResource.Builder addPrimaryIdentifier(java.lang.String primaryIdentifier)
public CfnResource.Builder primaryIdentifiers(java.util.Set<java.lang.String> primaryIdentifiers)
public CfnResource.Builder addAdditionalIdentifier(java.util.Set<java.lang.String> additionalIdentifier)
public CfnResource.Builder additionalIdentifiers(java.util.List<java.util.Set<java.lang.String>> additionalIdentifiers)
public CfnResource build()
SmithyBuilder
build
in interface SmithyBuilder<CfnResource>