Class CreateEngineOptions.Builder

  • Enclosing class:
    CreateEngineOptions

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

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

        public CreateEngineOptions.Builder addAssociatedCatalogs​(java.lang.String associatedCatalogs)
        Adds an associatedCatalogs to associatedCatalogs.
        Parameters:
        associatedCatalogs - the new associatedCatalogs
        Returns:
        the CreateEngineOptions builder
      • version

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

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

        public CreateEngineOptions.Builder type​(java.lang.String type)
        Set the type.
        Parameters:
        type - the type
        Returns:
        the CreateEngineOptions builder
      • accept

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

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

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

        public CreateEngineOptions.Builder firstTimeUse​(java.lang.Boolean firstTimeUse)
        Set the firstTimeUse.
        Parameters:
        firstTimeUse - the firstTimeUse
        Returns:
        the CreateEngineOptions builder
      • region

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

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

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