/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.management.datafactory.v2018_06_01;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
 * The location of Google Cloud Storage dataset.
 */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = GoogleCloudStorageLocation.class)
@JsonTypeName("GoogleCloudStorageLocation")
public class GoogleCloudStorageLocation extends DatasetLocation {
    /**
     * Specify the bucketName of Google Cloud Storage. Type: string (or
     * Expression with resultType string).
     */
    @JsonProperty(value = "bucketName")
    private Object bucketName;

    /**
     * Specify the version of Google Cloud Storage. Type: string (or Expression
     * with resultType string).
     */
    @JsonProperty(value = "version")
    private Object version;

    /**
     * Get specify the bucketName of Google Cloud Storage. Type: string (or Expression with resultType string).
     *
     * @return the bucketName value
     */
    public Object bucketName() {
        return this.bucketName;
    }

    /**
     * Set specify the bucketName of Google Cloud Storage. Type: string (or Expression with resultType string).
     *
     * @param bucketName the bucketName value to set
     * @return the GoogleCloudStorageLocation object itself.
     */
    public GoogleCloudStorageLocation withBucketName(Object bucketName) {
        this.bucketName = bucketName;
        return this;
    }

    /**
     * Get specify the version of Google Cloud Storage. Type: string (or Expression with resultType string).
     *
     * @return the version value
     */
    public Object version() {
        return this.version;
    }

    /**
     * Set specify the version of Google Cloud Storage. Type: string (or Expression with resultType string).
     *
     * @param version the version value to set
     * @return the GoogleCloudStorageLocation object itself.
     */
    public GoogleCloudStorageLocation withVersion(Object version) {
        this.version = version;
        return this;
    }

}
