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