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

* Information about the build output artifacts for the build project. *

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

* The type of build output artifact. Valid values include: *

* */ private String type; /** *

* Information about the build output artifact location: *

* */ private String location; /** *

* Along with namespaceType and name, the pattern that CodeBuild uses to name and store * the output artifact: *

* *

* For example, if path is set to MyArtifacts, namespaceType is set to * NONE, and name is set to MyArtifact.zip, the output artifact is stored in * the output bucket at MyArtifacts/MyArtifact.zip. *

*/ private String path; /** *

* Along with path and name, the pattern that CodeBuild uses to determine the name and * location to store the output artifact: *

* *

* For example, if path is set to MyArtifacts, namespaceType is set to * BUILD_ID, and name is set to MyArtifact.zip, the output artifact is stored * in MyArtifacts/<build-ID>/MyArtifact.zip. *

*/ private String namespaceType; /** *

* Along with path and namespaceType, the pattern that CodeBuild uses to name and store * the output artifact: *

* *

* For example: *

* */ private String name; /** *

* The type of build output artifact to create: *

* */ private String packaging; /** *

* If this flag is set, a name specified in the buildspec file overrides the artifact name. The name specified in a * buildspec file is calculated at build time and uses the Shell Command Language. For example, you can append a * date and time to your artifact name so that it is always unique. *

*/ private Boolean overrideArtifactName; /** *

* Set to true if you do not want your output artifacts encrypted. This option is valid only if your artifacts type * is Amazon S3. If this is set with another artifacts type, an invalidInputException is thrown. *

*/ private Boolean encryptionDisabled; /** *

* An identifier for this artifact definition. *

*/ private String artifactIdentifier; private String bucketOwnerAccess; /** *

* The type of build output artifact. Valid values include: *

* * * @param type * The type of build output artifact. Valid values include:

*