Class StagedQuoteSetCustomTypeActionBuilder
- All Implemented Interfaces:
Builder<StagedQuoteSetCustomTypeAction>
Example to create an instance using the builder pattern
StagedQuoteSetCustomTypeAction stagedQuoteSetCustomTypeAction = StagedQuoteSetCustomTypeAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StagedQuoteSetCustomTypeAction with checking for non-null required valuesbuilds StagedQuoteSetCustomTypeAction without checking for non-null required valuesfields
(FieldContainer fields) Sets the Custom Fields fields for the StagedQuote.Sets the Custom Fields fields for the StagedQuote.Sets the Custom Fields fields for the StagedQuote.getType()
Defines the Type that extends the StagedQuote with Custom Fields.of()
factory method for an instance of StagedQuoteSetCustomTypeActionBuilderof
(StagedQuoteSetCustomTypeAction template) create builder for StagedQuoteSetCustomTypeAction instancetype
(TypeResourceIdentifier type) Defines the Type that extends the StagedQuote with Custom Fields.Defines the Type that extends the StagedQuote with Custom Fields.Sets the Custom Fields fields for the StagedQuote.Defines the Type that extends the StagedQuote with Custom Fields.
-
Constructor Details
-
StagedQuoteSetCustomTypeActionBuilder
public StagedQuoteSetCustomTypeActionBuilder()
-
-
Method Details
-
type
public StagedQuoteSetCustomTypeActionBuilder type(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifierBuilder> builder) Defines the Type that extends the StagedQuote with Custom Fields. If absent, any existing Type and Custom Fields are removed from the StagedQuote.
- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
withType
public StagedQuoteSetCustomTypeActionBuilder withType(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifier> builder) Defines the Type that extends the StagedQuote with Custom Fields. If absent, any existing Type and Custom Fields are removed from the StagedQuote.
- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
type
Defines the Type that extends the StagedQuote with Custom Fields. If absent, any existing Type and Custom Fields are removed from the StagedQuote.
- Parameters:
type
- value to be set- Returns:
- Builder
-
fields
public StagedQuoteSetCustomTypeActionBuilder fields(Function<FieldContainerBuilder, FieldContainerBuilder> builder) Sets the Custom Fields fields for the StagedQuote.
- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
withFields
public StagedQuoteSetCustomTypeActionBuilder withFields(Function<FieldContainerBuilder, FieldContainer> builder) Sets the Custom Fields fields for the StagedQuote.
- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
fields
Sets the Custom Fields fields for the StagedQuote.
- Parameters:
fields
- value to be set- Returns:
- Builder
-
getType
Defines the Type that extends the StagedQuote with Custom Fields. If absent, any existing Type and Custom Fields are removed from the StagedQuote.
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the StagedQuote.
- Returns:
- fields
-
build
builds StagedQuoteSetCustomTypeAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<StagedQuoteSetCustomTypeAction>
- Returns:
- StagedQuoteSetCustomTypeAction
-
buildUnchecked
builds StagedQuoteSetCustomTypeAction without checking for non-null required values- Returns:
- StagedQuoteSetCustomTypeAction
-
of
factory method for an instance of StagedQuoteSetCustomTypeActionBuilder- Returns:
- builder
-
of
create builder for StagedQuoteSetCustomTypeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-