Class LastModifiedByBuilder
- All Implemented Interfaces:
Builder<LastModifiedBy>
Example to create an instance using the builder pattern
LastModifiedBy lastModifiedBy = LastModifiedBy.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionanonymousId
(String anonymousId) Indicates the anonymous session during which the resource was modified.associate
(CustomerReference associate) Indicates the Customer who modified the resource in the context of a Business Unit.Indicates the Customer who modified the resource in the context of a Business Unit.attributedTo
(Attribution attributedTo) Indicates if the resource was modified indirectly.Indicates if the resource was modified indirectly.build()
builds LastModifiedBy with checking for non-null required valuesbuilds LastModifiedBy without checking for non-null required valuesid
of the API Client which modified the resource.customer
(CustomerReference customer) Indicates the Customer who modified the resource using a token from the password flow.Indicates the Customer who modified the resource using a token from the password flow.externalUserId
(String externalUserId) External user ID provided by theX-External-User-ID
HTTP Header orexternal_user_id:{externalUserId}
scope.Indicates the anonymous session during which the resource was modified.Indicates the Customer who modified the resource in the context of a Business Unit.Indicates if the resource was modified indirectly.id
of the API Client which modified the resource.Indicates the Customer who modified the resource using a token from the password flow.External user ID provided by theX-External-User-ID
HTTP Header orexternal_user_id:{externalUserId}
scope.static LastModifiedByBuilder
of()
factory method for an instance of LastModifiedByBuilderstatic LastModifiedByBuilder
of
(LastModifiedBy template) create builder for LastModifiedBy instanceIndicates the Customer who modified the resource in the context of a Business Unit.Indicates if the resource was modified indirectly.Indicates the Customer who modified the resource using a token from the password flow.
-
Constructor Details
-
LastModifiedByBuilder
public LastModifiedByBuilder()
-
-
Method Details
-
clientId
id
of the API Client which modified the resource.- Parameters:
clientId
- value to be set- Returns:
- Builder
-
externalUserId
External user ID provided by the
X-External-User-ID
HTTP Header orexternal_user_id:{externalUserId}
scope.- Parameters:
externalUserId
- value to be set- Returns:
- Builder
-
customer
public LastModifiedByBuilder customer(Function<CustomerReferenceBuilder, CustomerReferenceBuilder> builder) Indicates the Customer who modified the resource using a token from the password flow.
- Parameters:
builder
- function to build the customer value- Returns:
- Builder
-
withCustomer
public LastModifiedByBuilder withCustomer(Function<CustomerReferenceBuilder, CustomerReference> builder) Indicates the Customer who modified the resource using a token from the password flow.
- Parameters:
builder
- function to build the customer value- Returns:
- Builder
-
customer
Indicates the Customer who modified the resource using a token from the password flow.
- Parameters:
customer
- value to be set- Returns:
- Builder
-
anonymousId
Indicates the anonymous session during which the resource was modified.
- Parameters:
anonymousId
- value to be set- Returns:
- Builder
-
associate
public LastModifiedByBuilder associate(Function<CustomerReferenceBuilder, CustomerReferenceBuilder> builder) Indicates the Customer who modified the resource in the context of a Business Unit. Only present when an Associate acts on behalf of a company using the associate endpoints.
- Parameters:
builder
- function to build the associate value- Returns:
- Builder
-
withAssociate
public LastModifiedByBuilder withAssociate(Function<CustomerReferenceBuilder, CustomerReference> builder) Indicates the Customer who modified the resource in the context of a Business Unit. Only present when an Associate acts on behalf of a company using the associate endpoints.
- Parameters:
builder
- function to build the associate value- Returns:
- Builder
-
associate
Indicates the Customer who modified the resource in the context of a Business Unit. Only present when an Associate acts on behalf of a company using the associate endpoints.
- Parameters:
associate
- value to be set- Returns:
- Builder
-
attributedTo
Indicates if the resource was modified indirectly.
- Parameters:
builder
- function to build the attributedTo value- Returns:
- Builder
-
withAttributedTo
Indicates if the resource was modified indirectly.
- Parameters:
builder
- function to build the attributedTo value- Returns:
- Builder
-
attributedTo
Indicates if the resource was modified indirectly.
- Parameters:
attributedTo
- value to be set- Returns:
- Builder
-
getClientId
id
of the API Client which modified the resource.- Returns:
- clientId
-
getExternalUserId
External user ID provided by the
X-External-User-ID
HTTP Header orexternal_user_id:{externalUserId}
scope.- Returns:
- externalUserId
-
getCustomer
Indicates the Customer who modified the resource using a token from the password flow.
- Returns:
- customer
-
getAnonymousId
Indicates the anonymous session during which the resource was modified.
- Returns:
- anonymousId
-
getAssociate
Indicates the Customer who modified the resource in the context of a Business Unit. Only present when an Associate acts on behalf of a company using the associate endpoints.
- Returns:
- associate
-
getAttributedTo
Indicates if the resource was modified indirectly.
- Returns:
- attributedTo
-
build
builds LastModifiedBy with checking for non-null required values- Specified by:
build
in interfaceBuilder<LastModifiedBy>
- Returns:
- LastModifiedBy
-
buildUnchecked
builds LastModifiedBy without checking for non-null required values- Returns:
- LastModifiedBy
-
of
factory method for an instance of LastModifiedByBuilder- Returns:
- builder
-
of
create builder for LastModifiedBy instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-