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

com.amazonaws.services.sagemaker.model.StudioLifecycleConfigDetails 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.782
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.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* Details of the Amazon SageMaker Studio Lifecycle Configuration. *

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

* The Amazon Resource Name (ARN) of the Lifecycle Configuration. *

*/ private String studioLifecycleConfigArn; /** *

* The name of the Amazon SageMaker Studio Lifecycle Configuration. *

*/ 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 App type to which the Lifecycle Configuration is attached. *

*/ private String studioLifecycleConfigAppType; /** *

* The Amazon Resource Name (ARN) of the Lifecycle Configuration. *

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

* The Amazon Resource Name (ARN) of the Lifecycle Configuration. *

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

* The Amazon Resource Name (ARN) of the Lifecycle Configuration. *

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

* The name of the Amazon SageMaker Studio Lifecycle Configuration. *

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

* The name of the Amazon SageMaker Studio Lifecycle Configuration. *

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

* The name of the Amazon SageMaker Studio Lifecycle Configuration. *

* * @param studioLifecycleConfigName * The name of the Amazon SageMaker Studio Lifecycle Configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public StudioLifecycleConfigDetails 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 StudioLifecycleConfigDetails 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 StudioLifecycleConfigDetails withLastModifiedTime(java.util.Date lastModifiedTime) { setLastModifiedTime(lastModifiedTime); return this; } /** *

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

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

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

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

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

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

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

* * @param studioLifecycleConfigAppType * The App type to which the Lifecycle Configuration is attached. * @return Returns a reference to this object so that method calls can be chained together. * @see StudioLifecycleConfigAppType */ public StudioLifecycleConfigDetails 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 (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 StudioLifecycleConfigDetails == false) return false; StudioLifecycleConfigDetails other = (StudioLifecycleConfigDetails) 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.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 + ((getStudioLifecycleConfigAppType() == null) ? 0 : getStudioLifecycleConfigAppType().hashCode()); return hashCode; } @Override public StudioLifecycleConfigDetails clone() { try { return (StudioLifecycleConfigDetails) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.sagemaker.model.transform.StudioLifecycleConfigDetailsMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy