Class ResourceIdentifierBuilder

java.lang.Object
com.commercetools.history.models.common.ResourceIdentifierBuilder
All Implemented Interfaces:
Builder<ResourceIdentifier>

public class ResourceIdentifierBuilder extends Object implements Builder<ResourceIdentifier>
ResourceIdentifierBuilder
Example to create an instance using the builder pattern

     ResourceIdentifier resourceIdentifier = ResourceIdentifier.builder()
             .id("{id}")
             .key("{key}")
             .typeId(ReferenceTypeId.ASSOCIATE_ROLE)
             .build()
 
  • Constructor Details

    • ResourceIdentifierBuilder

      public ResourceIdentifierBuilder()
  • Method Details