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

* Contains information about the external connection of a repository. *

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

* The name of the external connection associated with a repository. *

*/ private String externalConnectionName; /** *

* The package format associated with a repository's external connection. The valid package formats are: *

* */ private String packageFormat; /** *

* The status of the external connection of a repository. There is one valid value, Available. *

*/ private String status; /** *

* The name of the external connection associated with a repository. *

* * @param externalConnectionName * The name of the external connection associated with a repository. */ public void setExternalConnectionName(String externalConnectionName) { this.externalConnectionName = externalConnectionName; } /** *

* The name of the external connection associated with a repository. *

* * @return The name of the external connection associated with a repository. */ public String getExternalConnectionName() { return this.externalConnectionName; } /** *

* The name of the external connection associated with a repository. *

* * @param externalConnectionName * The name of the external connection associated with a repository. * @return Returns a reference to this object so that method calls can be chained together. */ public RepositoryExternalConnectionInfo withExternalConnectionName(String externalConnectionName) { setExternalConnectionName(externalConnectionName); return this; } /** *

* The package format associated with a repository's external connection. The valid package formats are: *

* * * @param packageFormat * The package format associated with a repository's external connection. The valid package formats are:

*