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

com.amazonaws.services.tnb.model.PutSolFunctionPackageContentResult Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Telco Network Builder module holds the client classes that are used for communicating with AWS Telco Network Builder Service

There is a newer version: 1.12.778
Show newest version
/*
 * Copyright 2019-2024 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.tnb.model;

import java.io.Serializable;
import javax.annotation.Generated;

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

    /**
     * 

* Function package ID. *

*/ private String id; /** *

* Function package metadata. *

*/ private PutSolFunctionPackageContentMetadata metadata; /** *

* Function product name. *

*/ private String vnfProductName; /** *

* Function provider. *

*/ private String vnfProvider; /** *

* Function package descriptor ID. *

*/ private String vnfdId; /** *

* Function package descriptor version. *

*/ private String vnfdVersion; /** *

* Function package ID. *

* * @param id * Function package ID. */ public void setId(String id) { this.id = id; } /** *

* Function package ID. *

* * @return Function package ID. */ public String getId() { return this.id; } /** *

* Function package ID. *

* * @param id * Function package ID. * @return Returns a reference to this object so that method calls can be chained together. */ public PutSolFunctionPackageContentResult withId(String id) { setId(id); return this; } /** *

* Function package metadata. *

* * @param metadata * Function package metadata. */ public void setMetadata(PutSolFunctionPackageContentMetadata metadata) { this.metadata = metadata; } /** *

* Function package metadata. *

* * @return Function package metadata. */ public PutSolFunctionPackageContentMetadata getMetadata() { return this.metadata; } /** *

* Function package metadata. *

* * @param metadata * Function package metadata. * @return Returns a reference to this object so that method calls can be chained together. */ public PutSolFunctionPackageContentResult withMetadata(PutSolFunctionPackageContentMetadata metadata) { setMetadata(metadata); return this; } /** *

* Function product name. *

* * @param vnfProductName * Function product name. */ public void setVnfProductName(String vnfProductName) { this.vnfProductName = vnfProductName; } /** *

* Function product name. *

* * @return Function product name. */ public String getVnfProductName() { return this.vnfProductName; } /** *

* Function product name. *

* * @param vnfProductName * Function product name. * @return Returns a reference to this object so that method calls can be chained together. */ public PutSolFunctionPackageContentResult withVnfProductName(String vnfProductName) { setVnfProductName(vnfProductName); return this; } /** *

* Function provider. *

* * @param vnfProvider * Function provider. */ public void setVnfProvider(String vnfProvider) { this.vnfProvider = vnfProvider; } /** *

* Function provider. *

* * @return Function provider. */ public String getVnfProvider() { return this.vnfProvider; } /** *

* Function provider. *

* * @param vnfProvider * Function provider. * @return Returns a reference to this object so that method calls can be chained together. */ public PutSolFunctionPackageContentResult withVnfProvider(String vnfProvider) { setVnfProvider(vnfProvider); return this; } /** *

* Function package descriptor ID. *

* * @param vnfdId * Function package descriptor ID. */ public void setVnfdId(String vnfdId) { this.vnfdId = vnfdId; } /** *

* Function package descriptor ID. *

* * @return Function package descriptor ID. */ public String getVnfdId() { return this.vnfdId; } /** *

* Function package descriptor ID. *

* * @param vnfdId * Function package descriptor ID. * @return Returns a reference to this object so that method calls can be chained together. */ public PutSolFunctionPackageContentResult withVnfdId(String vnfdId) { setVnfdId(vnfdId); return this; } /** *

* Function package descriptor version. *

* * @param vnfdVersion * Function package descriptor version. */ public void setVnfdVersion(String vnfdVersion) { this.vnfdVersion = vnfdVersion; } /** *

* Function package descriptor version. *

* * @return Function package descriptor version. */ public String getVnfdVersion() { return this.vnfdVersion; } /** *

* Function package descriptor version. *

* * @param vnfdVersion * Function package descriptor version. * @return Returns a reference to this object so that method calls can be chained together. */ public PutSolFunctionPackageContentResult withVnfdVersion(String vnfdVersion) { setVnfdVersion(vnfdVersion); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getId() != null) sb.append("Id: ").append(getId()).append(","); if (getMetadata() != null) sb.append("Metadata: ").append(getMetadata()).append(","); if (getVnfProductName() != null) sb.append("VnfProductName: ").append(getVnfProductName()).append(","); if (getVnfProvider() != null) sb.append("VnfProvider: ").append(getVnfProvider()).append(","); if (getVnfdId() != null) sb.append("VnfdId: ").append(getVnfdId()).append(","); if (getVnfdVersion() != null) sb.append("VnfdVersion: ").append(getVnfdVersion()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof PutSolFunctionPackageContentResult == false) return false; PutSolFunctionPackageContentResult other = (PutSolFunctionPackageContentResult) obj; if (other.getId() == null ^ this.getId() == null) return false; if (other.getId() != null && other.getId().equals(this.getId()) == false) return false; if (other.getMetadata() == null ^ this.getMetadata() == null) return false; if (other.getMetadata() != null && other.getMetadata().equals(this.getMetadata()) == false) return false; if (other.getVnfProductName() == null ^ this.getVnfProductName() == null) return false; if (other.getVnfProductName() != null && other.getVnfProductName().equals(this.getVnfProductName()) == false) return false; if (other.getVnfProvider() == null ^ this.getVnfProvider() == null) return false; if (other.getVnfProvider() != null && other.getVnfProvider().equals(this.getVnfProvider()) == false) return false; if (other.getVnfdId() == null ^ this.getVnfdId() == null) return false; if (other.getVnfdId() != null && other.getVnfdId().equals(this.getVnfdId()) == false) return false; if (other.getVnfdVersion() == null ^ this.getVnfdVersion() == null) return false; if (other.getVnfdVersion() != null && other.getVnfdVersion().equals(this.getVnfdVersion()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode()); hashCode = prime * hashCode + ((getMetadata() == null) ? 0 : getMetadata().hashCode()); hashCode = prime * hashCode + ((getVnfProductName() == null) ? 0 : getVnfProductName().hashCode()); hashCode = prime * hashCode + ((getVnfProvider() == null) ? 0 : getVnfProvider().hashCode()); hashCode = prime * hashCode + ((getVnfdId() == null) ? 0 : getVnfdId().hashCode()); hashCode = prime * hashCode + ((getVnfdVersion() == null) ? 0 : getVnfdVersion().hashCode()); return hashCode; } @Override public PutSolFunctionPackageContentResult clone() { try { return (PutSolFunctionPackageContentResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy