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

com.amazonaws.services.sagemaker.model.DescribeAppRequest Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon SageMaker module holds the client classes that are used for communicating with Amazon SageMaker Service

There is a newer version: 1.12.772
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.sagemaker.model;

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

import com.amazonaws.AmazonWebServiceRequest;

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

    /**
     * 

* The domain ID. *

*/ private String domainId; /** *

* The user profile name. If this value is not set, then SpaceName must be set. *

*/ private String userProfileName; /** *

* The name of the space. *

*/ private String spaceName; /** *

* The type of app. *

*/ private String appType; /** *

* The name of the app. *

*/ private String appName; /** *

* The domain ID. *

* * @param domainId * The domain ID. */ public void setDomainId(String domainId) { this.domainId = domainId; } /** *

* The domain ID. *

* * @return The domain ID. */ public String getDomainId() { return this.domainId; } /** *

* The domain ID. *

* * @param domainId * The domain ID. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAppRequest withDomainId(String domainId) { setDomainId(domainId); return this; } /** *

* The user profile name. If this value is not set, then SpaceName must be set. *

* * @param userProfileName * The user profile name. If this value is not set, then SpaceName must be set. */ public void setUserProfileName(String userProfileName) { this.userProfileName = userProfileName; } /** *

* The user profile name. If this value is not set, then SpaceName must be set. *

* * @return The user profile name. If this value is not set, then SpaceName must be set. */ public String getUserProfileName() { return this.userProfileName; } /** *

* The user profile name. If this value is not set, then SpaceName must be set. *

* * @param userProfileName * The user profile name. If this value is not set, then SpaceName must be set. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAppRequest withUserProfileName(String userProfileName) { setUserProfileName(userProfileName); return this; } /** *

* The name of the space. *

* * @param spaceName * The name of the space. */ public void setSpaceName(String spaceName) { this.spaceName = spaceName; } /** *

* The name of the space. *

* * @return The name of the space. */ public String getSpaceName() { return this.spaceName; } /** *

* The name of the space. *

* * @param spaceName * The name of the space. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAppRequest withSpaceName(String spaceName) { setSpaceName(spaceName); return this; } /** *

* The type of app. *

* * @param appType * The type of app. * @see AppType */ public void setAppType(String appType) { this.appType = appType; } /** *

* The type of app. *

* * @return The type of app. * @see AppType */ public String getAppType() { return this.appType; } /** *

* The type of app. *

* * @param appType * The type of app. * @return Returns a reference to this object so that method calls can be chained together. * @see AppType */ public DescribeAppRequest withAppType(String appType) { setAppType(appType); return this; } /** *

* The type of app. *

* * @param appType * The type of app. * @return Returns a reference to this object so that method calls can be chained together. * @see AppType */ public DescribeAppRequest withAppType(AppType appType) { this.appType = appType.toString(); return this; } /** *

* The name of the app. *

* * @param appName * The name of the app. */ public void setAppName(String appName) { this.appName = appName; } /** *

* The name of the app. *

* * @return The name of the app. */ public String getAppName() { return this.appName; } /** *

* The name of the app. *

* * @param appName * The name of the app. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAppRequest withAppName(String appName) { setAppName(appName); 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 (getDomainId() != null) sb.append("DomainId: ").append(getDomainId()).append(","); if (getUserProfileName() != null) sb.append("UserProfileName: ").append(getUserProfileName()).append(","); if (getSpaceName() != null) sb.append("SpaceName: ").append(getSpaceName()).append(","); if (getAppType() != null) sb.append("AppType: ").append(getAppType()).append(","); if (getAppName() != null) sb.append("AppName: ").append(getAppName()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeAppRequest == false) return false; DescribeAppRequest other = (DescribeAppRequest) obj; if (other.getDomainId() == null ^ this.getDomainId() == null) return false; if (other.getDomainId() != null && other.getDomainId().equals(this.getDomainId()) == false) return false; if (other.getUserProfileName() == null ^ this.getUserProfileName() == null) return false; if (other.getUserProfileName() != null && other.getUserProfileName().equals(this.getUserProfileName()) == false) return false; if (other.getSpaceName() == null ^ this.getSpaceName() == null) return false; if (other.getSpaceName() != null && other.getSpaceName().equals(this.getSpaceName()) == false) return false; if (other.getAppType() == null ^ this.getAppType() == null) return false; if (other.getAppType() != null && other.getAppType().equals(this.getAppType()) == false) return false; if (other.getAppName() == null ^ this.getAppName() == null) return false; if (other.getAppName() != null && other.getAppName().equals(this.getAppName()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getDomainId() == null) ? 0 : getDomainId().hashCode()); hashCode = prime * hashCode + ((getUserProfileName() == null) ? 0 : getUserProfileName().hashCode()); hashCode = prime * hashCode + ((getSpaceName() == null) ? 0 : getSpaceName().hashCode()); hashCode = prime * hashCode + ((getAppType() == null) ? 0 : getAppType().hashCode()); hashCode = prime * hashCode + ((getAppName() == null) ? 0 : getAppName().hashCode()); return hashCode; } @Override public DescribeAppRequest clone() { return (DescribeAppRequest) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy