Class ResourcesMetadata.Builder

  • Enclosing class:
    ResourcesMetadata

    public static class ResourcesMetadata.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String action,
                       java.lang.String resourceName,
                       java.lang.String resourceType)
        Instantiates a new builder with required properties.
        Parameters:
        action - the action
        resourceName - the resourceName
        resourceType - the resourceType
    • Method Detail

      • build

        public ResourcesMetadata build()
        Builds a ResourcesMetadata.
        Returns:
        the new ResourcesMetadata instance
      • action

        public ResourcesMetadata.Builder action​(java.lang.String action)
        Set the action.
        Parameters:
        action - the action
        Returns:
        the ResourcesMetadata builder
      • resourceName

        public ResourcesMetadata.Builder resourceName​(java.lang.String resourceName)
        Set the resourceName.
        Parameters:
        resourceName - the resourceName
        Returns:
        the ResourcesMetadata builder
      • resourceType

        public ResourcesMetadata.Builder resourceType​(java.lang.String resourceType)
        Set the resourceType.
        Parameters:
        resourceType - the resourceType
        Returns:
        the ResourcesMetadata builder