Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
   *
   * Licensed under the Apache License, Version 2.0 (the "License").
   * You may not use this file except in compliance with the License.
   * A copy of the License is located at
   *
   *  http://aws.amazon.com/apache2.0
   *
  * or in the "license" file accompanying this file. This file is distributed
  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
  * express or implied. See the License for the specific language governing
  * permissions and limitations under the License.
  */
 package com.amazonaws.services.s3.model;
 
 import java.util.Date;
 
 
 public class MultipartUpload {

    
The key by which this upload is stored.
 
     private String key;

    
The unique ID of this multipart upload.
 
     private String uploadId;

    
The owner of this multipart upload.
 
     private Owner owner;

    
The initiator of this multipart upload.
 
     private Owner initiator;

    
The storage class indicating how the data in this multipart upload will be stored.
 
     private String storageClass;

    
The date at which this upload was initiated.
 
     private Date initiated;


    
Returns the key by which this upload is stored.

Returns:
The key by which this upload is stored.
 
     public String getKey() {
         return ;
     }

    
Sets the key by which this upload is stored.

Parameters:
key The key by which this upload is stored.
 
     public void setKey(String key) {
         this. = key;
     }

    
Returns the unique ID of this multipart upload.

Returns:
The unique ID of this multipart upload.
 
     public String getUploadId() {
         return ;
     }

    
Sets the unique ID of this multipart upload.

Parameters:
uploadId The unique ID of this multipart upload.
 
     public void setUploadId(String uploadId) {
         this. = uploadId;
     }

    
Returns the owner of this multipart upload.

Returns:
The owner of this multipart upload.
 
     public Owner getOwner() {
        return ;
    }

    
Sets the owner of this multipart upload.

Parameters:
owner The owner of this multipart upload.
    public void setOwner(Owner owner) {
        this. = owner;
    }

    
Returns the user who initiated this multipart upload.

Returns:
The user who initiated this multipart upload.
    public Owner getInitiator() {
        return ;
    }

    
Sets the user who initiated this multipart upload.

Parameters:
initiator The user who initiated this multipart upload.
    public void setInitiator(Owner initiator) {
        this. = initiator;
    }

    
Returns the storage class indicating how the data in this multipart upload will be stored.

Returns:
The storage class indicating how the data in this multipart upload will be stored.
    public String getStorageClass() {
        return ;
    }

    
Sets the storage class indicating how the data in this multipart upload will be stored.

Parameters:
storageClass The storage class indicating how the data in this multipart upload will be stored.
    public void setStorageClass(String storageClass) {
        this. = storageClass;
    }

    
Returns the date at which this upload was initiated.

Returns:
The date at which this upload was initiated.
    public Date getInitiated() {
        return ;
    }

    
Sets the date at which this upload was initiated.

Parameters:
initiated The date at which this upload was initiated.
    public void setInitiated(Date initiated) {
        this. = initiated;
    }
New to GrepCode? Check out our FAQ X