Class UpdateDatabaseOptions.Builder

  • Enclosing class:
    UpdateDatabaseOptions

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

        public UpdateDatabaseOptions build()
        Builds a UpdateDatabaseOptions.
        Returns:
        the new UpdateDatabaseOptions instance
      • addTags

        public UpdateDatabaseOptions.Builder addTags​(java.lang.String tags)
        Adds an tags to tags.
        Parameters:
        tags - the new tags
        Returns:
        the UpdateDatabaseOptions builder
      • databaseId

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

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

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

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

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

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