Class GraphQLAssociateMissingPermissionErrorBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<GraphQLAssociateMissingPermissionError>
Example to create an instance using the builder pattern
GraphQLAssociateMissingPermissionError graphQLAssociateMissingPermissionError = GraphQLAssociateMissingPermissionError.builder()
.associate(associateBuilder -> associateBuilder)
.businessUnit(businessUnitBuilder -> businessUnitBuilder)
.plusPermissions(permissionsBuilder -> permissionsBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.associate
(CustomerResourceIdentifier associate) ResourceIdentifier to the Associate that tried to perform the action.ResourceIdentifier to the Associate that tried to perform the action.associateOnBehalf
(CustomerResourceIdentifier associateOnBehalf) ResourceIdentifier of the Associate on whose behalf the action is performed.associateOnBehalf
(Function<CustomerResourceIdentifierBuilder, CustomerResourceIdentifierBuilder> builder) ResourceIdentifier of the Associate on whose behalf the action is performed.build()
builds GraphQLAssociateMissingPermissionError with checking for non-null required valuesbuilds GraphQLAssociateMissingPermissionError without checking for non-null required valuesbusinessUnit
(BusinessUnitResourceIdentifier businessUnit) ResourceIdentifier to the BusinessUnit.businessUnit
(Function<BusinessUnitResourceIdentifierBuilder, BusinessUnitResourceIdentifierBuilder> builder) ResourceIdentifier to the BusinessUnit.ResourceIdentifier to the Associate that tried to perform the action.ResourceIdentifier of the Associate on whose behalf the action is performed.ResourceIdentifier to the BusinessUnit.The Permissions that the Associate performing the action lacks.Error-specific additional fields.of()
factory method for an instance of GraphQLAssociateMissingPermissionErrorBuilderof
(GraphQLAssociateMissingPermissionError template) create builder for GraphQLAssociateMissingPermissionError instancepermissions
(Permission... permissions) The Permissions that the Associate performing the action lacks.permissions
(List<Permission> permissions) The Permissions that the Associate performing the action lacks.plusPermissions
(Permission... permissions) The Permissions that the Associate performing the action lacks.Error-specific additional fields.ResourceIdentifier to the Associate that tried to perform the action.withAssociateOnBehalf
(Function<CustomerResourceIdentifierBuilder, CustomerResourceIdentifier> builder) ResourceIdentifier of the Associate on whose behalf the action is performed.withBusinessUnit
(Function<BusinessUnitResourceIdentifierBuilder, BusinessUnitResourceIdentifier> builder) ResourceIdentifier to the BusinessUnit.
-
Constructor Details
-
GraphQLAssociateMissingPermissionErrorBuilder
public GraphQLAssociateMissingPermissionErrorBuilder()
-
-
Method Details
-
values
Error-specific additional fields.
- Parameters:
values
- properties to be set- Returns:
- Builder
-
addValue
Error-specific additional fields.
- Parameters:
key
- property namevalue
- property value- Returns:
- Builder
-
associate
public GraphQLAssociateMissingPermissionErrorBuilder associate(Function<CustomerResourceIdentifierBuilder, CustomerResourceIdentifierBuilder> builder) ResourceIdentifier to the Associate that tried to perform the action.
- Parameters:
builder
- function to build the associate value- Returns:
- Builder
-
withAssociate
public GraphQLAssociateMissingPermissionErrorBuilder withAssociate(Function<CustomerResourceIdentifierBuilder, CustomerResourceIdentifier> builder) ResourceIdentifier to the Associate that tried to perform the action.
- Parameters:
builder
- function to build the associate value- Returns:
- Builder
-
associate
public GraphQLAssociateMissingPermissionErrorBuilder associate(CustomerResourceIdentifier associate) ResourceIdentifier to the Associate that tried to perform the action.
- Parameters:
associate
- value to be set- Returns:
- Builder
-
businessUnit
public GraphQLAssociateMissingPermissionErrorBuilder businessUnit(Function<BusinessUnitResourceIdentifierBuilder, BusinessUnitResourceIdentifierBuilder> builder) ResourceIdentifier to the BusinessUnit.
- Parameters:
builder
- function to build the businessUnit value- Returns:
- Builder
-
withBusinessUnit
public GraphQLAssociateMissingPermissionErrorBuilder withBusinessUnit(Function<BusinessUnitResourceIdentifierBuilder, BusinessUnitResourceIdentifier> builder) ResourceIdentifier to the BusinessUnit.
- Parameters:
builder
- function to build the businessUnit value- Returns:
- Builder
-
businessUnit
public GraphQLAssociateMissingPermissionErrorBuilder businessUnit(BusinessUnitResourceIdentifier businessUnit) ResourceIdentifier to the BusinessUnit.
- Parameters:
businessUnit
- value to be set- Returns:
- Builder
-
associateOnBehalf
public GraphQLAssociateMissingPermissionErrorBuilder associateOnBehalf(Function<CustomerResourceIdentifierBuilder, CustomerResourceIdentifierBuilder> builder) ResourceIdentifier of the Associate on whose behalf the action is performed.
- Parameters:
builder
- function to build the associateOnBehalf value- Returns:
- Builder
-
withAssociateOnBehalf
public GraphQLAssociateMissingPermissionErrorBuilder withAssociateOnBehalf(Function<CustomerResourceIdentifierBuilder, CustomerResourceIdentifier> builder) ResourceIdentifier of the Associate on whose behalf the action is performed.
- Parameters:
builder
- function to build the associateOnBehalf value- Returns:
- Builder
-
associateOnBehalf
public GraphQLAssociateMissingPermissionErrorBuilder associateOnBehalf(@Nullable CustomerResourceIdentifier associateOnBehalf) ResourceIdentifier of the Associate on whose behalf the action is performed.
- Parameters:
associateOnBehalf
- value to be set- Returns:
- Builder
-
permissions
The Permissions that the Associate performing the action lacks. At least one of these Permissions is needed.
- Parameters:
permissions
- value to be set- Returns:
- Builder
-
permissions
The Permissions that the Associate performing the action lacks. At least one of these Permissions is needed.
- Parameters:
permissions
- value to be set- Returns:
- Builder
-
plusPermissions
The Permissions that the Associate performing the action lacks. At least one of these Permissions is needed.
- Parameters:
permissions
- value to be set- Returns:
- Builder
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
getAssociate
ResourceIdentifier to the Associate that tried to perform the action.
- Returns:
- associate
-
getBusinessUnit
ResourceIdentifier to the BusinessUnit.
- Returns:
- businessUnit
-
getAssociateOnBehalf
ResourceIdentifier of the Associate on whose behalf the action is performed.
- Returns:
- associateOnBehalf
-
getPermissions
The Permissions that the Associate performing the action lacks. At least one of these Permissions is needed.
- Returns:
- permissions
-
build
builds GraphQLAssociateMissingPermissionError with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<GraphQLAssociateMissingPermissionError>
- Returns:
- GraphQLAssociateMissingPermissionError
-
buildUnchecked
builds GraphQLAssociateMissingPermissionError without checking for non-null required values- Returns:
- GraphQLAssociateMissingPermissionError
-
of
factory method for an instance of GraphQLAssociateMissingPermissionErrorBuilder- Returns:
- builder
-
of
public static GraphQLAssociateMissingPermissionErrorBuilder of(GraphQLAssociateMissingPermissionError template) create builder for GraphQLAssociateMissingPermissionError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-