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