Class ReviewSetCustomTypeActionBuilder
- All Implemented Interfaces:
Builder<ReviewSetCustomTypeAction>
Example to create an instance using the builder pattern
ReviewSetCustomTypeAction reviewSetCustomTypeAction = ReviewSetCustomTypeAction.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds ReviewSetCustomTypeAction with checking for non-null required valuesbuilds ReviewSetCustomTypeAction without checking for non-null required valuesfields(FieldContainer fields) Object containing the Custom Fields fields for the Review.Object containing the Custom Fields fields for the Review.Object containing the Custom Fields fields for the Review.getType()Defines the Type that extends the Review with Custom Fields.of()factory method for an instance of ReviewSetCustomTypeActionBuilderof(ReviewSetCustomTypeAction template) create builder for ReviewSetCustomTypeAction instancetype(TypeResourceIdentifier type) Defines the Type that extends the Review with Custom Fields.Defines the Type that extends the Review with Custom Fields.Object containing the Custom Fields fields for the Review.Defines the Type that extends the Review with Custom Fields.
-
Constructor Details
-
ReviewSetCustomTypeActionBuilder
public ReviewSetCustomTypeActionBuilder()
-
-
Method Details
-
type
public ReviewSetCustomTypeActionBuilder type(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifierBuilder> builder) Defines the Type that extends the Review with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Review.
- Parameters:
builder- function to build the type value- Returns:
- Builder
-
withType
public ReviewSetCustomTypeActionBuilder withType(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifier> builder) Defines the Type that extends the Review with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Review.
- Parameters:
builder- function to build the type value- Returns:
- Builder
-
type
Defines the Type that extends the Review with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Review.
- Parameters:
type- value to be set- Returns:
- Builder
-
fields
public ReviewSetCustomTypeActionBuilder fields(Function<FieldContainerBuilder, FieldContainerBuilder> builder) Object containing the Custom Fields fields for the Review.
Required if at least one Custom Field is defined as required in the
fieldDefinitionsof the referenced Type.- Parameters:
builder- function to build the fields value- Returns:
- Builder
-
withFields
public ReviewSetCustomTypeActionBuilder withFields(Function<FieldContainerBuilder, FieldContainer> builder) Object containing the Custom Fields fields for the Review.
Required if at least one Custom Field is defined as required in the
fieldDefinitionsof the referenced Type.- Parameters:
builder- function to build the fields value- Returns:
- Builder
-
fields
Object containing the Custom Fields fields for the Review.
Required if at least one Custom Field is defined as required in the
fieldDefinitionsof the referenced Type.- Parameters:
fields- value to be set- Returns:
- Builder
-
getType
Defines the Type that extends the Review with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Review.
- Returns:
- type
-
getFields
Object containing the Custom Fields fields for the Review.
Required if at least one Custom Field is defined as required in the
fieldDefinitionsof the referenced Type.- Returns:
- fields
-
build
builds ReviewSetCustomTypeAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<ReviewSetCustomTypeAction>- Returns:
- ReviewSetCustomTypeAction
-
buildUnchecked
builds ReviewSetCustomTypeAction without checking for non-null required values- Returns:
- ReviewSetCustomTypeAction
-
of
factory method for an instance of ReviewSetCustomTypeActionBuilder- Returns:
- builder
-
of
create builder for ReviewSetCustomTypeAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-