All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.obs.services.model.inventory.SetInventoryConfigurationRequest Maven / Gradle / Ivy

Go to download

The HuaweiCloud OBS Bundle SDK for Java used for accessing Object Storage Service, this SDK bundle includes third-party libraries and relocated to different namespaces

The newest version!
package com.obs.services.model.inventory;

import com.obs.services.model.BaseBucketRequest;
import com.obs.services.model.HttpMethodEnum;

import java.util.ArrayList;

public class SetInventoryConfigurationRequest extends BaseBucketRequest {

    {
        httpMethod = HttpMethodEnum.PUT;
    }

    protected InventoryConfiguration inventoryConfiguration;

    public InventoryConfiguration getInventoryConfiguration() {
        if(inventoryConfiguration == null) {
            inventoryConfiguration = new InventoryConfiguration();
        }
        return inventoryConfiguration;
    }

    public void setInventoryConfiguration(InventoryConfiguration inventoryConfiguration) {
        this.inventoryConfiguration = inventoryConfiguration;
    }

    public SetInventoryConfigurationRequest(String bucketName, InventoryConfiguration inventoryConfiguration) {
        super(bucketName);
        this.inventoryConfiguration = inventoryConfiguration;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy