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