Class CreateSparkEngineOptions.Builder

  • Enclosing class:
    CreateSparkEngineOptions

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

        public CreateSparkEngineOptions build()
        Builds a CreateSparkEngineOptions.
        Returns:
        the new CreateSparkEngineOptions instance
      • addAssociatedCatalogs

        public CreateSparkEngineOptions.Builder addAssociatedCatalogs​(java.lang.String associatedCatalogs)
        Adds a new element to associatedCatalogs.
        Parameters:
        associatedCatalogs - the new element to be added
        Returns:
        the CreateSparkEngineOptions builder
      • addTags

        public CreateSparkEngineOptions.Builder addTags​(java.lang.String tags)
        Adds a new element to tags.
        Parameters:
        tags - the new element to be added
        Returns:
        the CreateSparkEngineOptions builder
      • origin

        public CreateSparkEngineOptions.Builder origin​(java.lang.String origin)
        Set the origin.
        Parameters:
        origin - the origin
        Returns:
        the CreateSparkEngineOptions builder
      • associatedCatalogs

        public CreateSparkEngineOptions.Builder associatedCatalogs​(java.util.List<java.lang.String> associatedCatalogs)
        Set the associatedCatalogs. Existing associatedCatalogs will be replaced.
        Parameters:
        associatedCatalogs - the associatedCatalogs
        Returns:
        the CreateSparkEngineOptions builder
      • description

        public CreateSparkEngineOptions.Builder description​(java.lang.String description)
        Set the description.
        Parameters:
        description - the description
        Returns:
        the CreateSparkEngineOptions builder
      • engineDisplayName

        public CreateSparkEngineOptions.Builder engineDisplayName​(java.lang.String engineDisplayName)
        Set the engineDisplayName.
        Parameters:
        engineDisplayName - the engineDisplayName
        Returns:
        the CreateSparkEngineOptions builder
      • status

        public CreateSparkEngineOptions.Builder status​(java.lang.String status)
        Set the status.
        Parameters:
        status - the status
        Returns:
        the CreateSparkEngineOptions builder
      • tags

        public CreateSparkEngineOptions.Builder tags​(java.util.List<java.lang.String> tags)
        Set the tags. Existing tags will be replaced.
        Parameters:
        tags - the tags
        Returns:
        the CreateSparkEngineOptions builder
      • authInstanceId

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