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

com.amazonaws.services.sagemaker.model.DescribeStudioLifecycleConfigResult 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

The 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;

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

    /**
     * 

* The ARN of the Lifecycle Configuration to describe. *

*/ private String studioLifecycleConfigArn; /** *

* The name of the Amazon SageMaker Studio Lifecycle Configuration that is described. *

*/ private String studioLifecycleConfigName; /** *

* The creation time of the Amazon SageMaker Studio Lifecycle Configuration. *

*/ private java.util.Date creationTime; /** *

* This value is equivalent to CreationTime because Amazon SageMaker Studio Lifecycle Configurations are immutable. *

*/ private java.util.Date lastModifiedTime; /** *

* The content of your Amazon SageMaker Studio Lifecycle Configuration script. *

*/ private String studioLifecycleConfigContent; /** *

* The App type that the Lifecycle Configuration is attached to. *

*/ private String studioLifecycleConfigAppType; /** *

* The ARN of the Lifecycle Configuration to describe. *

* * @param studioLifecycleConfigArn * The ARN of the Lifecycle Configuration to describe. */ public void setStudioLifecycleConfigArn(String studioLifecycleConfigArn) { this.studioLifecycleConfigArn = studioLifecycleConfigArn; } /** *

* The ARN of the Lifecycle Configuration to describe. *

* * @return The ARN of the Lifecycle Configuration to describe. */ public String getStudioLifecycleConfigArn() { return this.studioLifecycleConfigArn; } /** *

* The ARN of the Lifecycle Configuration to describe. *

* * @param studioLifecycleConfigArn * The ARN of the Lifecycle Configuration to describe. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeStudioLifecycleConfigResult withStudioLifecycleConfigArn(String studioLifecycleConfigArn) { setStudioLifecycleConfigArn(studioLifecycleConfigArn); return this; } /** *

* The name of the Amazon SageMaker Studio Lifecycle Configuration that is described. *

* * @param studioLifecycleConfigName * The name of the Amazon SageMaker Studio Lifecycle Configuration that is described. */ public void setStudioLifecycleConfigName(String studioLifecycleConfigName) { this.studioLifecycleConfigName = studioLifecycleConfigName; } /** *

* The name of the Amazon SageMaker Studio Lifecycle Configuration that is described. *

* * @return The name of the Amazon SageMaker Studio Lifecycle Configuration that is described. */ public String getStudioLifecycleConfigName() { return this.studioLifecycleConfigName; } /** *

* The name of the Amazon SageMaker Studio Lifecycle Configuration that is described. *

* * @param studioLifecycleConfigName * The name of the Amazon SageMaker Studio Lifecycle Configuration that is described. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeStudioLifecycleConfigResult withStudioLifecycleConfigName(String studioLifecycleConfigName) { setStudioLifecycleConfigName(studioLifecycleConfigName); return this; } /** *

* The creation time of the Amazon SageMaker Studio Lifecycle Configuration. *

* * @param creationTime * The creation time of the Amazon SageMaker Studio Lifecycle Configuration. */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** *

* The creation time of the Amazon SageMaker Studio Lifecycle Configuration. *

* * @return The creation time of the Amazon SageMaker Studio Lifecycle Configuration. */ public java.util.Date getCreationTime() { return this.creationTime; } /** *

* The creation time of the Amazon SageMaker Studio Lifecycle Configuration. *

* * @param creationTime * The creation time of the Amazon SageMaker Studio Lifecycle Configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeStudioLifecycleConfigResult withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** *

* This value is equivalent to CreationTime because Amazon SageMaker Studio Lifecycle Configurations are immutable. *

* * @param lastModifiedTime * This value is equivalent to CreationTime because Amazon SageMaker Studio Lifecycle Configurations are * immutable. */ public void setLastModifiedTime(java.util.Date lastModifiedTime) { this.lastModifiedTime = lastModifiedTime; } /** *

* This value is equivalent to CreationTime because Amazon SageMaker Studio Lifecycle Configurations are immutable. *

* * @return This value is equivalent to CreationTime because Amazon SageMaker Studio Lifecycle Configurations are * immutable. */ public java.util.Date getLastModifiedTime() { return this.lastModifiedTime; } /** *

* This value is equivalent to CreationTime because Amazon SageMaker Studio Lifecycle Configurations are immutable. *

* * @param lastModifiedTime * This value is equivalent to CreationTime because Amazon SageMaker Studio Lifecycle Configurations are * immutable. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeStudioLifecycleConfigResult withLastModifiedTime(java.util.Date lastModifiedTime) { setLastModifiedTime(lastModifiedTime); return this; } /** *

* The content of your Amazon SageMaker Studio Lifecycle Configuration script. *

* * @param studioLifecycleConfigContent * The content of your Amazon SageMaker Studio Lifecycle Configuration script. */ public void setStudioLifecycleConfigContent(String studioLifecycleConfigContent) { this.studioLifecycleConfigContent = studioLifecycleConfigContent; } /** *

* The content of your Amazon SageMaker Studio Lifecycle Configuration script. *

* * @return The content of your Amazon SageMaker Studio Lifecycle Configuration script. */ public String getStudioLifecycleConfigContent() { return this.studioLifecycleConfigContent; } /** *

* The content of your Amazon SageMaker Studio Lifecycle Configuration script. *

* * @param studioLifecycleConfigContent * The content of your Amazon SageMaker Studio Lifecycle Configuration script. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeStudioLifecycleConfigResult withStudioLifecycleConfigContent(String studioLifecycleConfigContent) { setStudioLifecycleConfigContent(studioLifecycleConfigContent); return this; } /** *

* The App type that the Lifecycle Configuration is attached to. *

* * @param studioLifecycleConfigAppType * The App type that the Lifecycle Configuration is attached to. * @see StudioLifecycleConfigAppType */ public void setStudioLifecycleConfigAppType(String studioLifecycleConfigAppType) { this.studioLifecycleConfigAppType = studioLifecycleConfigAppType; } /** *

* The App type that the Lifecycle Configuration is attached to. *

* * @return The App type that the Lifecycle Configuration is attached to. * @see StudioLifecycleConfigAppType */ public String getStudioLifecycleConfigAppType() { return this.studioLifecycleConfigAppType; } /** *

* The App type that the Lifecycle Configuration is attached to. *

* * @param studioLifecycleConfigAppType * The App type that the Lifecycle Configuration is attached to. * @return Returns a reference to this object so that method calls can be chained together. * @see StudioLifecycleConfigAppType */ public DescribeStudioLifecycleConfigResult withStudioLifecycleConfigAppType(String studioLifecycleConfigAppType) { setStudioLifecycleConfigAppType(studioLifecycleConfigAppType); return this; } /** *

* The App type that the Lifecycle Configuration is attached to. *

* * @param studioLifecycleConfigAppType * The App type that the Lifecycle Configuration is attached to. * @return Returns a reference to this object so that method calls can be chained together. * @see StudioLifecycleConfigAppType */ public DescribeStudioLifecycleConfigResult withStudioLifecycleConfigAppType(StudioLifecycleConfigAppType studioLifecycleConfigAppType) { this.studioLifecycleConfigAppType = studioLifecycleConfigAppType.toString(); 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 (getStudioLifecycleConfigArn() != null) sb.append("StudioLifecycleConfigArn: ").append(getStudioLifecycleConfigArn()).append(","); if (getStudioLifecycleConfigName() != null) sb.append("StudioLifecycleConfigName: ").append(getStudioLifecycleConfigName()).append(","); if (getCreationTime() != null) sb.append("CreationTime: ").append(getCreationTime()).append(","); if (getLastModifiedTime() != null) sb.append("LastModifiedTime: ").append(getLastModifiedTime()).append(","); if (getStudioLifecycleConfigContent() != null) sb.append("StudioLifecycleConfigContent: ").append(getStudioLifecycleConfigContent()).append(","); if (getStudioLifecycleConfigAppType() != null) sb.append("StudioLifecycleConfigAppType: ").append(getStudioLifecycleConfigAppType()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeStudioLifecycleConfigResult == false) return false; DescribeStudioLifecycleConfigResult other = (DescribeStudioLifecycleConfigResult) obj; if (other.getStudioLifecycleConfigArn() == null ^ this.getStudioLifecycleConfigArn() == null) return false; if (other.getStudioLifecycleConfigArn() != null && other.getStudioLifecycleConfigArn().equals(this.getStudioLifecycleConfigArn()) == false) return false; if (other.getStudioLifecycleConfigName() == null ^ this.getStudioLifecycleConfigName() == null) return false; if (other.getStudioLifecycleConfigName() != null && other.getStudioLifecycleConfigName().equals(this.getStudioLifecycleConfigName()) == false) return false; if (other.getCreationTime() == null ^ this.getCreationTime() == null) return false; if (other.getCreationTime() != null && other.getCreationTime().equals(this.getCreationTime()) == false) return false; if (other.getLastModifiedTime() == null ^ this.getLastModifiedTime() == null) return false; if (other.getLastModifiedTime() != null && other.getLastModifiedTime().equals(this.getLastModifiedTime()) == false) return false; if (other.getStudioLifecycleConfigContent() == null ^ this.getStudioLifecycleConfigContent() == null) return false; if (other.getStudioLifecycleConfigContent() != null && other.getStudioLifecycleConfigContent().equals(this.getStudioLifecycleConfigContent()) == false) return false; if (other.getStudioLifecycleConfigAppType() == null ^ this.getStudioLifecycleConfigAppType() == null) return false; if (other.getStudioLifecycleConfigAppType() != null && other.getStudioLifecycleConfigAppType().equals(this.getStudioLifecycleConfigAppType()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getStudioLifecycleConfigArn() == null) ? 0 : getStudioLifecycleConfigArn().hashCode()); hashCode = prime * hashCode + ((getStudioLifecycleConfigName() == null) ? 0 : getStudioLifecycleConfigName().hashCode()); hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode()); hashCode = prime * hashCode + ((getLastModifiedTime() == null) ? 0 : getLastModifiedTime().hashCode()); hashCode = prime * hashCode + ((getStudioLifecycleConfigContent() == null) ? 0 : getStudioLifecycleConfigContent().hashCode()); hashCode = prime * hashCode + ((getStudioLifecycleConfigAppType() == null) ? 0 : getStudioLifecycleConfigAppType().hashCode()); return hashCode; } @Override public DescribeStudioLifecycleConfigResult clone() { try { return (DescribeStudioLifecycleConfigResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy