Class Remote.Builder
- java.lang.Object
-
- software.amazon.smithy.aws.cloudformation.schema.model.Remote.Builder
-
- All Implemented Interfaces:
SmithyBuilder<Remote>
- Enclosing class:
- Remote
public static final class Remote.Builder extends java.lang.Object implements SmithyBuilder<Remote>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Remote.Builder
addDefinition(java.lang.String name, Schema definition)
Remote.Builder
addProperty(java.lang.String name, Property property)
Remote
build()
Creates an immutable object that is created from the properties that have been set on the builder.Remote.Builder
clearDefinitions()
Remote.Builder
clearProperties()
Remote.Builder
definitions(java.util.Map<java.lang.String,Schema> definitions)
Remote.Builder
properties(java.util.Map<java.lang.String,Property> properties)
Remote.Builder
removeDefinition(java.lang.String name)
Remote.Builder
removeProperty(java.lang.String name)
-
-
-
Method Detail
-
build
public Remote 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<Remote>
- Returns:
- an instance of T
-
definitions
public Remote.Builder definitions(java.util.Map<java.lang.String,Schema> definitions)
-
addDefinition
public Remote.Builder addDefinition(java.lang.String name, Schema definition)
-
removeDefinition
public Remote.Builder removeDefinition(java.lang.String name)
-
clearDefinitions
public Remote.Builder clearDefinitions()
-
properties
public Remote.Builder properties(java.util.Map<java.lang.String,Property> properties)
-
addProperty
public Remote.Builder addProperty(java.lang.String name, Property property)
-
removeProperty
public Remote.Builder removeProperty(java.lang.String name)
-
clearProperties
public Remote.Builder clearProperties()
-
-