
com.amazonaws.services.sagemaker.model.DescribeFeatureGroupResult Maven / Gradle / Ivy
/*
* Copyright 2015-2020 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 DescribeFeatureGroupResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
/**
*
* The Amazon Resource Name (ARN) of the FeatureGroup
.
*
*/
private String featureGroupArn;
/**
*
* he name of the FeatureGroup
.
*
*/
private String featureGroupName;
/**
*
* The name of the Feature
used for RecordIdentifier
, whose value uniquely identifies a
* record stored in the feature store.
*
*/
private String recordIdentifierFeatureName;
/**
*
* The name of the feature that stores the EventTime
of a Record in a FeatureGroup
.
*
*
* An EventTime
is a point in time when a new event occurs that corresponds to the creation or update
* of a Record
in a FeatureGroup
. All Records
in the
* FeatureGroup
have a corresponding EventTime
.
*
*/
private String eventTimeFeatureName;
/**
*
* A list of the Features
in the FeatureGroup
. Each feature is defined by a
* FeatureName
and FeatureType
.
*
*/
private java.util.List featureDefinitions;
/**
*
* A timestamp indicating when SageMaker created the FeatureGroup
.
*
*/
private java.util.Date creationTime;
/**
*
* The configuration for the OnlineStore
.
*
*/
private OnlineStoreConfig onlineStoreConfig;
/**
*
* The configuration of the OfflineStore
, inducing the S3 location of the OfflineStore
,
* AWS Glue or AWS Hive data catalogue configurations, and the security configuration.
*
*/
private OfflineStoreConfig offlineStoreConfig;
/**
*
* The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the OfflineStore
* if an OfflineStoreConfig
is provided.
*
*/
private String roleArn;
/**
*
* The status of the feature group.
*
*/
private String featureGroupStatus;
/**
*
* The status of the OfflineStore
. Notifies you if replicating data into the OfflineStore
* has failed. Returns either: Active
or Blocked
*
*/
private OfflineStoreStatus offlineStoreStatus;
/**
*
* The reason that the FeatureGroup
failed to be replicated in the OfflineStore
. This is
* failure can occur because:
*
*
* -
*
* The FeatureGroup
could not be created in the OfflineStore
.
*
*
* -
*
* The FeatureGroup
could not be deleted from the OfflineStore
.
*
*
*
*/
private String failureReason;
/**
*
* A free form description of the feature group.
*
*/
private String description;
/**
*
* A token to resume pagination of the list of Features
(FeatureDefinitions
).
*
*/
private String nextToken;
/**
*
* The Amazon Resource Name (ARN) of the FeatureGroup
.
*
*
* @param featureGroupArn
* The Amazon Resource Name (ARN) of the FeatureGroup
.
*/
public void setFeatureGroupArn(String featureGroupArn) {
this.featureGroupArn = featureGroupArn;
}
/**
*
* The Amazon Resource Name (ARN) of the FeatureGroup
.
*
*
* @return The Amazon Resource Name (ARN) of the FeatureGroup
.
*/
public String getFeatureGroupArn() {
return this.featureGroupArn;
}
/**
*
* The Amazon Resource Name (ARN) of the FeatureGroup
.
*
*
* @param featureGroupArn
* The Amazon Resource Name (ARN) of the FeatureGroup
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFeatureGroupResult withFeatureGroupArn(String featureGroupArn) {
setFeatureGroupArn(featureGroupArn);
return this;
}
/**
*
* he name of the FeatureGroup
.
*
*
* @param featureGroupName
* he name of the FeatureGroup
.
*/
public void setFeatureGroupName(String featureGroupName) {
this.featureGroupName = featureGroupName;
}
/**
*
* he name of the FeatureGroup
.
*
*
* @return he name of the FeatureGroup
.
*/
public String getFeatureGroupName() {
return this.featureGroupName;
}
/**
*
* he name of the FeatureGroup
.
*
*
* @param featureGroupName
* he name of the FeatureGroup
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFeatureGroupResult withFeatureGroupName(String featureGroupName) {
setFeatureGroupName(featureGroupName);
return this;
}
/**
*
* The name of the Feature
used for RecordIdentifier
, whose value uniquely identifies a
* record stored in the feature store.
*
*
* @param recordIdentifierFeatureName
* The name of the Feature
used for RecordIdentifier
, whose value uniquely
* identifies a record stored in the feature store.
*/
public void setRecordIdentifierFeatureName(String recordIdentifierFeatureName) {
this.recordIdentifierFeatureName = recordIdentifierFeatureName;
}
/**
*
* The name of the Feature
used for RecordIdentifier
, whose value uniquely identifies a
* record stored in the feature store.
*
*
* @return The name of the Feature
used for RecordIdentifier
, whose value uniquely
* identifies a record stored in the feature store.
*/
public String getRecordIdentifierFeatureName() {
return this.recordIdentifierFeatureName;
}
/**
*
* The name of the Feature
used for RecordIdentifier
, whose value uniquely identifies a
* record stored in the feature store.
*
*
* @param recordIdentifierFeatureName
* The name of the Feature
used for RecordIdentifier
, whose value uniquely
* identifies a record stored in the feature store.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFeatureGroupResult withRecordIdentifierFeatureName(String recordIdentifierFeatureName) {
setRecordIdentifierFeatureName(recordIdentifierFeatureName);
return this;
}
/**
*
* The name of the feature that stores the EventTime
of a Record in a FeatureGroup
.
*
*
* An EventTime
is a point in time when a new event occurs that corresponds to the creation or update
* of a Record
in a FeatureGroup
. All Records
in the
* FeatureGroup
have a corresponding EventTime
.
*
*
* @param eventTimeFeatureName
* The name of the feature that stores the EventTime
of a Record in a FeatureGroup
* .
*
* An EventTime
is a point in time when a new event occurs that corresponds to the creation or
* update of a Record
in a FeatureGroup
. All Records
in the
* FeatureGroup
have a corresponding EventTime
.
*/
public void setEventTimeFeatureName(String eventTimeFeatureName) {
this.eventTimeFeatureName = eventTimeFeatureName;
}
/**
*
* The name of the feature that stores the EventTime
of a Record in a FeatureGroup
.
*
*
* An EventTime
is a point in time when a new event occurs that corresponds to the creation or update
* of a Record
in a FeatureGroup
. All Records
in the
* FeatureGroup
have a corresponding EventTime
.
*
*
* @return The name of the feature that stores the EventTime
of a Record in a FeatureGroup
* .
*
* An EventTime
is a point in time when a new event occurs that corresponds to the creation or
* update of a Record
in a FeatureGroup
. All Records
in the
* FeatureGroup
have a corresponding EventTime
.
*/
public String getEventTimeFeatureName() {
return this.eventTimeFeatureName;
}
/**
*
* The name of the feature that stores the EventTime
of a Record in a FeatureGroup
.
*
*
* An EventTime
is a point in time when a new event occurs that corresponds to the creation or update
* of a Record
in a FeatureGroup
. All Records
in the
* FeatureGroup
have a corresponding EventTime
.
*
*
* @param eventTimeFeatureName
* The name of the feature that stores the EventTime
of a Record in a FeatureGroup
* .
*
* An EventTime
is a point in time when a new event occurs that corresponds to the creation or
* update of a Record
in a FeatureGroup
. All Records
in the
* FeatureGroup
have a corresponding EventTime
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFeatureGroupResult withEventTimeFeatureName(String eventTimeFeatureName) {
setEventTimeFeatureName(eventTimeFeatureName);
return this;
}
/**
*
* A list of the Features
in the FeatureGroup
. Each feature is defined by a
* FeatureName
and FeatureType
.
*
*
* @return A list of the Features
in the FeatureGroup
. Each feature is defined by a
* FeatureName
and FeatureType
.
*/
public java.util.List getFeatureDefinitions() {
return featureDefinitions;
}
/**
*
* A list of the Features
in the FeatureGroup
. Each feature is defined by a
* FeatureName
and FeatureType
.
*
*
* @param featureDefinitions
* A list of the Features
in the FeatureGroup
. Each feature is defined by a
* FeatureName
and FeatureType
.
*/
public void setFeatureDefinitions(java.util.Collection featureDefinitions) {
if (featureDefinitions == null) {
this.featureDefinitions = null;
return;
}
this.featureDefinitions = new java.util.ArrayList(featureDefinitions);
}
/**
*
* A list of the Features
in the FeatureGroup
. Each feature is defined by a
* FeatureName
and FeatureType
.
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setFeatureDefinitions(java.util.Collection)} or {@link #withFeatureDefinitions(java.util.Collection)} if
* you want to override the existing values.
*
*
* @param featureDefinitions
* A list of the Features
in the FeatureGroup
. Each feature is defined by a
* FeatureName
and FeatureType
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFeatureGroupResult withFeatureDefinitions(FeatureDefinition... featureDefinitions) {
if (this.featureDefinitions == null) {
setFeatureDefinitions(new java.util.ArrayList(featureDefinitions.length));
}
for (FeatureDefinition ele : featureDefinitions) {
this.featureDefinitions.add(ele);
}
return this;
}
/**
*
* A list of the Features
in the FeatureGroup
. Each feature is defined by a
* FeatureName
and FeatureType
.
*
*
* @param featureDefinitions
* A list of the Features
in the FeatureGroup
. Each feature is defined by a
* FeatureName
and FeatureType
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFeatureGroupResult withFeatureDefinitions(java.util.Collection featureDefinitions) {
setFeatureDefinitions(featureDefinitions);
return this;
}
/**
*
* A timestamp indicating when SageMaker created the FeatureGroup
.
*
*
* @param creationTime
* A timestamp indicating when SageMaker created the FeatureGroup
.
*/
public void setCreationTime(java.util.Date creationTime) {
this.creationTime = creationTime;
}
/**
*
* A timestamp indicating when SageMaker created the FeatureGroup
.
*
*
* @return A timestamp indicating when SageMaker created the FeatureGroup
.
*/
public java.util.Date getCreationTime() {
return this.creationTime;
}
/**
*
* A timestamp indicating when SageMaker created the FeatureGroup
.
*
*
* @param creationTime
* A timestamp indicating when SageMaker created the FeatureGroup
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFeatureGroupResult withCreationTime(java.util.Date creationTime) {
setCreationTime(creationTime);
return this;
}
/**
*
* The configuration for the OnlineStore
.
*
*
* @param onlineStoreConfig
* The configuration for the OnlineStore
.
*/
public void setOnlineStoreConfig(OnlineStoreConfig onlineStoreConfig) {
this.onlineStoreConfig = onlineStoreConfig;
}
/**
*
* The configuration for the OnlineStore
.
*
*
* @return The configuration for the OnlineStore
.
*/
public OnlineStoreConfig getOnlineStoreConfig() {
return this.onlineStoreConfig;
}
/**
*
* The configuration for the OnlineStore
.
*
*
* @param onlineStoreConfig
* The configuration for the OnlineStore
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFeatureGroupResult withOnlineStoreConfig(OnlineStoreConfig onlineStoreConfig) {
setOnlineStoreConfig(onlineStoreConfig);
return this;
}
/**
*
* The configuration of the OfflineStore
, inducing the S3 location of the OfflineStore
,
* AWS Glue or AWS Hive data catalogue configurations, and the security configuration.
*
*
* @param offlineStoreConfig
* The configuration of the OfflineStore
, inducing the S3 location of the
* OfflineStore
, AWS Glue or AWS Hive data catalogue configurations, and the security
* configuration.
*/
public void setOfflineStoreConfig(OfflineStoreConfig offlineStoreConfig) {
this.offlineStoreConfig = offlineStoreConfig;
}
/**
*
* The configuration of the OfflineStore
, inducing the S3 location of the OfflineStore
,
* AWS Glue or AWS Hive data catalogue configurations, and the security configuration.
*
*
* @return The configuration of the OfflineStore
, inducing the S3 location of the
* OfflineStore
, AWS Glue or AWS Hive data catalogue configurations, and the security
* configuration.
*/
public OfflineStoreConfig getOfflineStoreConfig() {
return this.offlineStoreConfig;
}
/**
*
* The configuration of the OfflineStore
, inducing the S3 location of the OfflineStore
,
* AWS Glue or AWS Hive data catalogue configurations, and the security configuration.
*
*
* @param offlineStoreConfig
* The configuration of the OfflineStore
, inducing the S3 location of the
* OfflineStore
, AWS Glue or AWS Hive data catalogue configurations, and the security
* configuration.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFeatureGroupResult withOfflineStoreConfig(OfflineStoreConfig offlineStoreConfig) {
setOfflineStoreConfig(offlineStoreConfig);
return this;
}
/**
*
* The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the OfflineStore
* if an OfflineStoreConfig
is provided.
*
*
* @param roleArn
* The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the
* OfflineStore
if an OfflineStoreConfig
is provided.
*/
public void setRoleArn(String roleArn) {
this.roleArn = roleArn;
}
/**
*
* The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the OfflineStore
* if an OfflineStoreConfig
is provided.
*
*
* @return The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the
* OfflineStore
if an OfflineStoreConfig
is provided.
*/
public String getRoleArn() {
return this.roleArn;
}
/**
*
* The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the OfflineStore
* if an OfflineStoreConfig
is provided.
*
*
* @param roleArn
* The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the
* OfflineStore
if an OfflineStoreConfig
is provided.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFeatureGroupResult withRoleArn(String roleArn) {
setRoleArn(roleArn);
return this;
}
/**
*
* The status of the feature group.
*
*
* @param featureGroupStatus
* The status of the feature group.
* @see FeatureGroupStatus
*/
public void setFeatureGroupStatus(String featureGroupStatus) {
this.featureGroupStatus = featureGroupStatus;
}
/**
*
* The status of the feature group.
*
*
* @return The status of the feature group.
* @see FeatureGroupStatus
*/
public String getFeatureGroupStatus() {
return this.featureGroupStatus;
}
/**
*
* The status of the feature group.
*
*
* @param featureGroupStatus
* The status of the feature group.
* @return Returns a reference to this object so that method calls can be chained together.
* @see FeatureGroupStatus
*/
public DescribeFeatureGroupResult withFeatureGroupStatus(String featureGroupStatus) {
setFeatureGroupStatus(featureGroupStatus);
return this;
}
/**
*
* The status of the feature group.
*
*
* @param featureGroupStatus
* The status of the feature group.
* @return Returns a reference to this object so that method calls can be chained together.
* @see FeatureGroupStatus
*/
public DescribeFeatureGroupResult withFeatureGroupStatus(FeatureGroupStatus featureGroupStatus) {
this.featureGroupStatus = featureGroupStatus.toString();
return this;
}
/**
*
* The status of the OfflineStore
. Notifies you if replicating data into the OfflineStore
* has failed. Returns either: Active
or Blocked
*
*
* @param offlineStoreStatus
* The status of the OfflineStore
. Notifies you if replicating data into the
* OfflineStore
has failed. Returns either: Active
or Blocked
*/
public void setOfflineStoreStatus(OfflineStoreStatus offlineStoreStatus) {
this.offlineStoreStatus = offlineStoreStatus;
}
/**
*
* The status of the OfflineStore
. Notifies you if replicating data into the OfflineStore
* has failed. Returns either: Active
or Blocked
*
*
* @return The status of the OfflineStore
. Notifies you if replicating data into the
* OfflineStore
has failed. Returns either: Active
or Blocked
*/
public OfflineStoreStatus getOfflineStoreStatus() {
return this.offlineStoreStatus;
}
/**
*
* The status of the OfflineStore
. Notifies you if replicating data into the OfflineStore
* has failed. Returns either: Active
or Blocked
*
*
* @param offlineStoreStatus
* The status of the OfflineStore
. Notifies you if replicating data into the
* OfflineStore
has failed. Returns either: Active
or Blocked
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFeatureGroupResult withOfflineStoreStatus(OfflineStoreStatus offlineStoreStatus) {
setOfflineStoreStatus(offlineStoreStatus);
return this;
}
/**
*
* The reason that the FeatureGroup
failed to be replicated in the OfflineStore
. This is
* failure can occur because:
*
*
* -
*
* The FeatureGroup
could not be created in the OfflineStore
.
*
*
* -
*
* The FeatureGroup
could not be deleted from the OfflineStore
.
*
*
*
*
* @param failureReason
* The reason that the FeatureGroup
failed to be replicated in the OfflineStore
.
* This is failure can occur because:
*
* -
*
* The FeatureGroup
could not be created in the OfflineStore
.
*
*
* -
*
* The FeatureGroup
could not be deleted from the OfflineStore
.
*
*
*/
public void setFailureReason(String failureReason) {
this.failureReason = failureReason;
}
/**
*
* The reason that the FeatureGroup
failed to be replicated in the OfflineStore
. This is
* failure can occur because:
*
*
* -
*
* The FeatureGroup
could not be created in the OfflineStore
.
*
*
* -
*
* The FeatureGroup
could not be deleted from the OfflineStore
.
*
*
*
*
* @return The reason that the FeatureGroup
failed to be replicated in the OfflineStore
.
* This is failure can occur because:
*
* -
*
* The FeatureGroup
could not be created in the OfflineStore
.
*
*
* -
*
* The FeatureGroup
could not be deleted from the OfflineStore
.
*
*
*/
public String getFailureReason() {
return this.failureReason;
}
/**
*
* The reason that the FeatureGroup
failed to be replicated in the OfflineStore
. This is
* failure can occur because:
*
*
* -
*
* The FeatureGroup
could not be created in the OfflineStore
.
*
*
* -
*
* The FeatureGroup
could not be deleted from the OfflineStore
.
*
*
*
*
* @param failureReason
* The reason that the FeatureGroup
failed to be replicated in the OfflineStore
.
* This is failure can occur because:
*
* -
*
* The FeatureGroup
could not be created in the OfflineStore
.
*
*
* -
*
* The FeatureGroup
could not be deleted from the OfflineStore
.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFeatureGroupResult withFailureReason(String failureReason) {
setFailureReason(failureReason);
return this;
}
/**
*
* A free form description of the feature group.
*
*
* @param description
* A free form description of the feature group.
*/
public void setDescription(String description) {
this.description = description;
}
/**
*
* A free form description of the feature group.
*
*
* @return A free form description of the feature group.
*/
public String getDescription() {
return this.description;
}
/**
*
* A free form description of the feature group.
*
*
* @param description
* A free form description of the feature group.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFeatureGroupResult withDescription(String description) {
setDescription(description);
return this;
}
/**
*
* A token to resume pagination of the list of Features
(FeatureDefinitions
).
*
*
* @param nextToken
* A token to resume pagination of the list of Features
(FeatureDefinitions
).
*/
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
/**
*
* A token to resume pagination of the list of Features
(FeatureDefinitions
).
*
*
* @return A token to resume pagination of the list of Features
(FeatureDefinitions
).
*/
public String getNextToken() {
return this.nextToken;
}
/**
*
* A token to resume pagination of the list of Features
(FeatureDefinitions
).
*
*
* @param nextToken
* A token to resume pagination of the list of Features
(FeatureDefinitions
).
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFeatureGroupResult withNextToken(String nextToken) {
setNextToken(nextToken);
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 (getFeatureGroupArn() != null)
sb.append("FeatureGroupArn: ").append(getFeatureGroupArn()).append(",");
if (getFeatureGroupName() != null)
sb.append("FeatureGroupName: ").append(getFeatureGroupName()).append(",");
if (getRecordIdentifierFeatureName() != null)
sb.append("RecordIdentifierFeatureName: ").append(getRecordIdentifierFeatureName()).append(",");
if (getEventTimeFeatureName() != null)
sb.append("EventTimeFeatureName: ").append(getEventTimeFeatureName()).append(",");
if (getFeatureDefinitions() != null)
sb.append("FeatureDefinitions: ").append(getFeatureDefinitions()).append(",");
if (getCreationTime() != null)
sb.append("CreationTime: ").append(getCreationTime()).append(",");
if (getOnlineStoreConfig() != null)
sb.append("OnlineStoreConfig: ").append(getOnlineStoreConfig()).append(",");
if (getOfflineStoreConfig() != null)
sb.append("OfflineStoreConfig: ").append(getOfflineStoreConfig()).append(",");
if (getRoleArn() != null)
sb.append("RoleArn: ").append(getRoleArn()).append(",");
if (getFeatureGroupStatus() != null)
sb.append("FeatureGroupStatus: ").append(getFeatureGroupStatus()).append(",");
if (getOfflineStoreStatus() != null)
sb.append("OfflineStoreStatus: ").append(getOfflineStoreStatus()).append(",");
if (getFailureReason() != null)
sb.append("FailureReason: ").append(getFailureReason()).append(",");
if (getDescription() != null)
sb.append("Description: ").append(getDescription()).append(",");
if (getNextToken() != null)
sb.append("NextToken: ").append(getNextToken());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof DescribeFeatureGroupResult == false)
return false;
DescribeFeatureGroupResult other = (DescribeFeatureGroupResult) obj;
if (other.getFeatureGroupArn() == null ^ this.getFeatureGroupArn() == null)
return false;
if (other.getFeatureGroupArn() != null && other.getFeatureGroupArn().equals(this.getFeatureGroupArn()) == false)
return false;
if (other.getFeatureGroupName() == null ^ this.getFeatureGroupName() == null)
return false;
if (other.getFeatureGroupName() != null && other.getFeatureGroupName().equals(this.getFeatureGroupName()) == false)
return false;
if (other.getRecordIdentifierFeatureName() == null ^ this.getRecordIdentifierFeatureName() == null)
return false;
if (other.getRecordIdentifierFeatureName() != null && other.getRecordIdentifierFeatureName().equals(this.getRecordIdentifierFeatureName()) == false)
return false;
if (other.getEventTimeFeatureName() == null ^ this.getEventTimeFeatureName() == null)
return false;
if (other.getEventTimeFeatureName() != null && other.getEventTimeFeatureName().equals(this.getEventTimeFeatureName()) == false)
return false;
if (other.getFeatureDefinitions() == null ^ this.getFeatureDefinitions() == null)
return false;
if (other.getFeatureDefinitions() != null && other.getFeatureDefinitions().equals(this.getFeatureDefinitions()) == 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.getOnlineStoreConfig() == null ^ this.getOnlineStoreConfig() == null)
return false;
if (other.getOnlineStoreConfig() != null && other.getOnlineStoreConfig().equals(this.getOnlineStoreConfig()) == false)
return false;
if (other.getOfflineStoreConfig() == null ^ this.getOfflineStoreConfig() == null)
return false;
if (other.getOfflineStoreConfig() != null && other.getOfflineStoreConfig().equals(this.getOfflineStoreConfig()) == false)
return false;
if (other.getRoleArn() == null ^ this.getRoleArn() == null)
return false;
if (other.getRoleArn() != null && other.getRoleArn().equals(this.getRoleArn()) == false)
return false;
if (other.getFeatureGroupStatus() == null ^ this.getFeatureGroupStatus() == null)
return false;
if (other.getFeatureGroupStatus() != null && other.getFeatureGroupStatus().equals(this.getFeatureGroupStatus()) == false)
return false;
if (other.getOfflineStoreStatus() == null ^ this.getOfflineStoreStatus() == null)
return false;
if (other.getOfflineStoreStatus() != null && other.getOfflineStoreStatus().equals(this.getOfflineStoreStatus()) == false)
return false;
if (other.getFailureReason() == null ^ this.getFailureReason() == null)
return false;
if (other.getFailureReason() != null && other.getFailureReason().equals(this.getFailureReason()) == false)
return false;
if (other.getDescription() == null ^ this.getDescription() == null)
return false;
if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false)
return false;
if (other.getNextToken() == null ^ this.getNextToken() == null)
return false;
if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getFeatureGroupArn() == null) ? 0 : getFeatureGroupArn().hashCode());
hashCode = prime * hashCode + ((getFeatureGroupName() == null) ? 0 : getFeatureGroupName().hashCode());
hashCode = prime * hashCode + ((getRecordIdentifierFeatureName() == null) ? 0 : getRecordIdentifierFeatureName().hashCode());
hashCode = prime * hashCode + ((getEventTimeFeatureName() == null) ? 0 : getEventTimeFeatureName().hashCode());
hashCode = prime * hashCode + ((getFeatureDefinitions() == null) ? 0 : getFeatureDefinitions().hashCode());
hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode());
hashCode = prime * hashCode + ((getOnlineStoreConfig() == null) ? 0 : getOnlineStoreConfig().hashCode());
hashCode = prime * hashCode + ((getOfflineStoreConfig() == null) ? 0 : getOfflineStoreConfig().hashCode());
hashCode = prime * hashCode + ((getRoleArn() == null) ? 0 : getRoleArn().hashCode());
hashCode = prime * hashCode + ((getFeatureGroupStatus() == null) ? 0 : getFeatureGroupStatus().hashCode());
hashCode = prime * hashCode + ((getOfflineStoreStatus() == null) ? 0 : getOfflineStoreStatus().hashCode());
hashCode = prime * hashCode + ((getFailureReason() == null) ? 0 : getFailureReason().hashCode());
hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode());
hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode());
return hashCode;
}
@Override
public DescribeFeatureGroupResult clone() {
try {
return (DescribeFeatureGroupResult) super.clone();
} catch (CloneNotSupportedException e) {
throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
}
}
}