/* * Copyright 2018-2023 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.codecommit.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Returns information about a specific Git blob object. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class BlobMetadata implements Serializable, Cloneable, StructuredPojo { /** *

* The full ID of the blob. *

*/ private String blobId; /** *

* The path to the blob and associated file name, if any. *

*/ private String path; /** *

* The file mode permissions of the blob. File mode permission codes include: *

* */ private String mode; /** *

* The full ID of the blob. *

* * @param blobId * The full ID of the blob. */ public void setBlobId(String blobId) { this.blobId = blobId; } /** *

* The full ID of the blob. *

* * @return The full ID of the blob. */ public String getBlobId() { return this.blobId; } /** *

* The full ID of the blob. *

* * @param blobId * The full ID of the blob. * @return Returns a reference to this object so that method calls can be chained together. */ public BlobMetadata withBlobId(String blobId) { setBlobId(blobId); return this; } /** *

* The path to the blob and associated file name, if any. *

* * @param path * The path to the blob and associated file name, if any. */ public void setPath(String path) { this.path = path; } /** *

* The path to the blob and associated file name, if any. *

* * @return The path to the blob and associated file name, if any. */ public String getPath() { return this.path; } /** *

* The path to the blob and associated file name, if any. *

* * @param path * The path to the blob and associated file name, if any. * @return Returns a reference to this object so that method calls can be chained together. */ public BlobMetadata withPath(String path) { setPath(path); return this; } /** *

* The file mode permissions of the blob. File mode permission codes include: *

* * * @param mode * The file mode permissions of the blob. File mode permission codes include:

*