software.amazon.awssdk.services.sagemaker.model.DescribeFeatureGroupResponse Maven / Gradle / Ivy
Show all versions of sagemaker Show documentation
/*
* Copyright 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 software.amazon.awssdk.services.sagemaker.model;
import java.time.Instant;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.function.BiConsumer;
import java.util.function.Consumer;
import java.util.function.Function;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.core.SdkField;
import software.amazon.awssdk.core.SdkPojo;
import software.amazon.awssdk.core.protocol.MarshallLocation;
import software.amazon.awssdk.core.protocol.MarshallingType;
import software.amazon.awssdk.core.traits.ListTrait;
import software.amazon.awssdk.core.traits.LocationTrait;
import software.amazon.awssdk.core.util.DefaultSdkAutoConstructList;
import software.amazon.awssdk.core.util.SdkAutoConstructList;
import software.amazon.awssdk.utils.ToString;
import software.amazon.awssdk.utils.builder.CopyableBuilder;
import software.amazon.awssdk.utils.builder.ToCopyableBuilder;
/**
*/
@Generated("software.amazon.awssdk:codegen")
public final class DescribeFeatureGroupResponse extends SageMakerResponse implements
ToCopyableBuilder {
private static final SdkField FEATURE_GROUP_ARN_FIELD = SdkField. builder(MarshallingType.STRING)
.memberName("FeatureGroupArn").getter(getter(DescribeFeatureGroupResponse::featureGroupArn))
.setter(setter(Builder::featureGroupArn))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("FeatureGroupArn").build()).build();
private static final SdkField FEATURE_GROUP_NAME_FIELD = SdkField. builder(MarshallingType.STRING)
.memberName("FeatureGroupName").getter(getter(DescribeFeatureGroupResponse::featureGroupName))
.setter(setter(Builder::featureGroupName))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("FeatureGroupName").build()).build();
private static final SdkField RECORD_IDENTIFIER_FEATURE_NAME_FIELD = SdkField
. builder(MarshallingType.STRING)
.memberName("RecordIdentifierFeatureName")
.getter(getter(DescribeFeatureGroupResponse::recordIdentifierFeatureName))
.setter(setter(Builder::recordIdentifierFeatureName))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("RecordIdentifierFeatureName")
.build()).build();
private static final SdkField EVENT_TIME_FEATURE_NAME_FIELD = SdkField. builder(MarshallingType.STRING)
.memberName("EventTimeFeatureName").getter(getter(DescribeFeatureGroupResponse::eventTimeFeatureName))
.setter(setter(Builder::eventTimeFeatureName))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("EventTimeFeatureName").build())
.build();
private static final SdkField> FEATURE_DEFINITIONS_FIELD = SdkField
.> builder(MarshallingType.LIST)
.memberName("FeatureDefinitions")
.getter(getter(DescribeFeatureGroupResponse::featureDefinitions))
.setter(setter(Builder::featureDefinitions))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("FeatureDefinitions").build(),
ListTrait
.builder()
.memberLocationName(null)
.memberFieldInfo(
SdkField. builder(MarshallingType.SDK_POJO)
.constructor(FeatureDefinition::builder)
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD)
.locationName("member").build()).build()).build()).build();
private static final SdkField CREATION_TIME_FIELD = SdkField. builder(MarshallingType.INSTANT)
.memberName("CreationTime").getter(getter(DescribeFeatureGroupResponse::creationTime))
.setter(setter(Builder::creationTime))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("CreationTime").build()).build();
private static final SdkField LAST_MODIFIED_TIME_FIELD = SdkField. builder(MarshallingType.INSTANT)
.memberName("LastModifiedTime").getter(getter(DescribeFeatureGroupResponse::lastModifiedTime))
.setter(setter(Builder::lastModifiedTime))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("LastModifiedTime").build()).build();
private static final SdkField ONLINE_STORE_CONFIG_FIELD = SdkField
. builder(MarshallingType.SDK_POJO).memberName("OnlineStoreConfig")
.getter(getter(DescribeFeatureGroupResponse::onlineStoreConfig)).setter(setter(Builder::onlineStoreConfig))
.constructor(OnlineStoreConfig::builder)
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("OnlineStoreConfig").build()).build();
private static final SdkField OFFLINE_STORE_CONFIG_FIELD = SdkField
. builder(MarshallingType.SDK_POJO).memberName("OfflineStoreConfig")
.getter(getter(DescribeFeatureGroupResponse::offlineStoreConfig)).setter(setter(Builder::offlineStoreConfig))
.constructor(OfflineStoreConfig::builder)
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("OfflineStoreConfig").build())
.build();
private static final SdkField THROUGHPUT_CONFIG_FIELD = SdkField
. builder(MarshallingType.SDK_POJO).memberName("ThroughputConfig")
.getter(getter(DescribeFeatureGroupResponse::throughputConfig)).setter(setter(Builder::throughputConfig))
.constructor(ThroughputConfigDescription::builder)
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("ThroughputConfig").build()).build();
private static final SdkField ROLE_ARN_FIELD = SdkField. builder(MarshallingType.STRING)
.memberName("RoleArn").getter(getter(DescribeFeatureGroupResponse::roleArn)).setter(setter(Builder::roleArn))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("RoleArn").build()).build();
private static final SdkField FEATURE_GROUP_STATUS_FIELD = SdkField. builder(MarshallingType.STRING)
.memberName("FeatureGroupStatus").getter(getter(DescribeFeatureGroupResponse::featureGroupStatusAsString))
.setter(setter(Builder::featureGroupStatus))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("FeatureGroupStatus").build())
.build();
private static final SdkField OFFLINE_STORE_STATUS_FIELD = SdkField
. builder(MarshallingType.SDK_POJO).memberName("OfflineStoreStatus")
.getter(getter(DescribeFeatureGroupResponse::offlineStoreStatus)).setter(setter(Builder::offlineStoreStatus))
.constructor(OfflineStoreStatus::builder)
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("OfflineStoreStatus").build())
.build();
private static final SdkField LAST_UPDATE_STATUS_FIELD = SdkField
. builder(MarshallingType.SDK_POJO).memberName("LastUpdateStatus")
.getter(getter(DescribeFeatureGroupResponse::lastUpdateStatus)).setter(setter(Builder::lastUpdateStatus))
.constructor(LastUpdateStatus::builder)
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("LastUpdateStatus").build()).build();
private static final SdkField FAILURE_REASON_FIELD = SdkField. builder(MarshallingType.STRING)
.memberName("FailureReason").getter(getter(DescribeFeatureGroupResponse::failureReason))
.setter(setter(Builder::failureReason))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("FailureReason").build()).build();
private static final SdkField DESCRIPTION_FIELD = SdkField. builder(MarshallingType.STRING)
.memberName("Description").getter(getter(DescribeFeatureGroupResponse::description))
.setter(setter(Builder::description))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("Description").build()).build();
private static final SdkField NEXT_TOKEN_FIELD = SdkField. builder(MarshallingType.STRING)
.memberName("NextToken").getter(getter(DescribeFeatureGroupResponse::nextToken)).setter(setter(Builder::nextToken))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("NextToken").build()).build();
private static final SdkField ONLINE_STORE_TOTAL_SIZE_BYTES_FIELD = SdkField. builder(MarshallingType.LONG)
.memberName("OnlineStoreTotalSizeBytes").getter(getter(DescribeFeatureGroupResponse::onlineStoreTotalSizeBytes))
.setter(setter(Builder::onlineStoreTotalSizeBytes))
.traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("OnlineStoreTotalSizeBytes").build())
.build();
private static final List> SDK_FIELDS = Collections.unmodifiableList(Arrays.asList(FEATURE_GROUP_ARN_FIELD,
FEATURE_GROUP_NAME_FIELD, RECORD_IDENTIFIER_FEATURE_NAME_FIELD, EVENT_TIME_FEATURE_NAME_FIELD,
FEATURE_DEFINITIONS_FIELD, CREATION_TIME_FIELD, LAST_MODIFIED_TIME_FIELD, ONLINE_STORE_CONFIG_FIELD,
OFFLINE_STORE_CONFIG_FIELD, THROUGHPUT_CONFIG_FIELD, ROLE_ARN_FIELD, FEATURE_GROUP_STATUS_FIELD,
OFFLINE_STORE_STATUS_FIELD, LAST_UPDATE_STATUS_FIELD, FAILURE_REASON_FIELD, DESCRIPTION_FIELD, NEXT_TOKEN_FIELD,
ONLINE_STORE_TOTAL_SIZE_BYTES_FIELD));
private final String featureGroupArn;
private final String featureGroupName;
private final String recordIdentifierFeatureName;
private final String eventTimeFeatureName;
private final List featureDefinitions;
private final Instant creationTime;
private final Instant lastModifiedTime;
private final OnlineStoreConfig onlineStoreConfig;
private final OfflineStoreConfig offlineStoreConfig;
private final ThroughputConfigDescription throughputConfig;
private final String roleArn;
private final String featureGroupStatus;
private final OfflineStoreStatus offlineStoreStatus;
private final LastUpdateStatus lastUpdateStatus;
private final String failureReason;
private final String description;
private final String nextToken;
private final Long onlineStoreTotalSizeBytes;
private DescribeFeatureGroupResponse(BuilderImpl builder) {
super(builder);
this.featureGroupArn = builder.featureGroupArn;
this.featureGroupName = builder.featureGroupName;
this.recordIdentifierFeatureName = builder.recordIdentifierFeatureName;
this.eventTimeFeatureName = builder.eventTimeFeatureName;
this.featureDefinitions = builder.featureDefinitions;
this.creationTime = builder.creationTime;
this.lastModifiedTime = builder.lastModifiedTime;
this.onlineStoreConfig = builder.onlineStoreConfig;
this.offlineStoreConfig = builder.offlineStoreConfig;
this.throughputConfig = builder.throughputConfig;
this.roleArn = builder.roleArn;
this.featureGroupStatus = builder.featureGroupStatus;
this.offlineStoreStatus = builder.offlineStoreStatus;
this.lastUpdateStatus = builder.lastUpdateStatus;
this.failureReason = builder.failureReason;
this.description = builder.description;
this.nextToken = builder.nextToken;
this.onlineStoreTotalSizeBytes = builder.onlineStoreTotalSizeBytes;
}
/**
*
* The Amazon Resource Name (ARN) of the FeatureGroup
.
*
*
* @return The Amazon Resource Name (ARN) of the FeatureGroup
.
*/
public final String featureGroupArn() {
return featureGroupArn;
}
/**
*
* he name of the FeatureGroup
.
*
*
* @return he name of the FeatureGroup
.
*/
public final String featureGroupName() {
return featureGroupName;
}
/**
*
* 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 final String recordIdentifierFeatureName() {
return 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
.
*
*
* @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 final String eventTimeFeatureName() {
return eventTimeFeatureName;
}
/**
* For responses, this returns true if the service returned a value for the FeatureDefinitions property. This DOES
* NOT check that the value is non-empty (for which, you should check the {@code isEmpty()} method on the property).
* This is useful because the SDK will never return a null collection or map, but you may need to differentiate
* between the service returning nothing (or null) and the service returning an empty collection or map. For
* requests, this returns true if a value for the property was specified in the request builder, and false if a
* value was not specified.
*/
public final boolean hasFeatureDefinitions() {
return featureDefinitions != null && !(featureDefinitions instanceof SdkAutoConstructList);
}
/**
*
* A list of the Features
in the FeatureGroup
. Each feature is defined by a
* FeatureName
and FeatureType
.
*
*
* Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
*
*
* This method will never return null. If you would like to know whether the service returned this field (so that
* you can differentiate between null and empty), you can use the {@link #hasFeatureDefinitions} method.
*
*
* @return A list of the Features
in the FeatureGroup
. Each feature is defined by a
* FeatureName
and FeatureType
.
*/
public final List featureDefinitions() {
return featureDefinitions;
}
/**
*
* A timestamp indicating when SageMaker created the FeatureGroup
.
*
*
* @return A timestamp indicating when SageMaker created the FeatureGroup
.
*/
public final Instant creationTime() {
return creationTime;
}
/**
*
* A timestamp indicating when the feature group was last updated.
*
*
* @return A timestamp indicating when the feature group was last updated.
*/
public final Instant lastModifiedTime() {
return lastModifiedTime;
}
/**
*
* The configuration for the OnlineStore
.
*
*
* @return The configuration for the OnlineStore
.
*/
public final OnlineStoreConfig onlineStoreConfig() {
return onlineStoreConfig;
}
/**
*
* The configuration of the offline store. It includes the following configurations:
*
*
* -
*
* Amazon S3 location of the offline store.
*
*
* -
*
* Configuration of the Glue data catalog.
*
*
* -
*
* Table format of the offline store.
*
*
* -
*
* Option to disable the automatic creation of a Glue table for the offline store.
*
*
* -
*
* Encryption configuration.
*
*
*
*
* @return The configuration of the offline store. It includes the following configurations:
*
* -
*
* Amazon S3 location of the offline store.
*
*
* -
*
* Configuration of the Glue data catalog.
*
*
* -
*
* Table format of the offline store.
*
*
* -
*
* Option to disable the automatic creation of a Glue table for the offline store.
*
*
* -
*
* Encryption configuration.
*
*
*/
public final OfflineStoreConfig offlineStoreConfig() {
return offlineStoreConfig;
}
/**
* Returns the value of the ThroughputConfig property for this object.
*
* @return The value of the ThroughputConfig property for this object.
*/
public final ThroughputConfigDescription throughputConfig() {
return throughputConfig;
}
/**
*
* 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 final String roleArn() {
return roleArn;
}
/**
*
* The status of the feature group.
*
*
* If the service returns an enum value that is not available in the current SDK version,
* {@link #featureGroupStatus} will return {@link FeatureGroupStatus#UNKNOWN_TO_SDK_VERSION}. The raw value returned
* by the service is available from {@link #featureGroupStatusAsString}.
*
*
* @return The status of the feature group.
* @see FeatureGroupStatus
*/
public final FeatureGroupStatus featureGroupStatus() {
return FeatureGroupStatus.fromValue(featureGroupStatus);
}
/**
*
* The status of the feature group.
*
*
* If the service returns an enum value that is not available in the current SDK version,
* {@link #featureGroupStatus} will return {@link FeatureGroupStatus#UNKNOWN_TO_SDK_VERSION}. The raw value returned
* by the service is available from {@link #featureGroupStatusAsString}.
*
*
* @return The status of the feature group.
* @see FeatureGroupStatus
*/
public final String featureGroupStatusAsString() {
return featureGroupStatus;
}
/**
*
* 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 final OfflineStoreStatus offlineStoreStatus() {
return offlineStoreStatus;
}
/**
*
* A value indicating whether the update made to the feature group was successful.
*
*
* @return A value indicating whether the update made to the feature group was successful.
*/
public final LastUpdateStatus lastUpdateStatus() {
return lastUpdateStatus;
}
/**
*
* 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 final String failureReason() {
return failureReason;
}
/**
*
* A free form description of the feature group.
*
*
* @return A free form description of the feature group.
*/
public final String description() {
return description;
}
/**
*
* A token to resume pagination of the list of Features
(FeatureDefinitions
).
*
*
* @return A token to resume pagination of the list of Features
(FeatureDefinitions
).
*/
public final String nextToken() {
return nextToken;
}
/**
*
* The size of the OnlineStore
in bytes.
*
*
* @return The size of the OnlineStore
in bytes.
*/
public final Long onlineStoreTotalSizeBytes() {
return onlineStoreTotalSizeBytes;
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
public static Builder builder() {
return new BuilderImpl();
}
public static Class serializableBuilderClass() {
return BuilderImpl.class;
}
@Override
public final int hashCode() {
int hashCode = 1;
hashCode = 31 * hashCode + super.hashCode();
hashCode = 31 * hashCode + Objects.hashCode(featureGroupArn());
hashCode = 31 * hashCode + Objects.hashCode(featureGroupName());
hashCode = 31 * hashCode + Objects.hashCode(recordIdentifierFeatureName());
hashCode = 31 * hashCode + Objects.hashCode(eventTimeFeatureName());
hashCode = 31 * hashCode + Objects.hashCode(hasFeatureDefinitions() ? featureDefinitions() : null);
hashCode = 31 * hashCode + Objects.hashCode(creationTime());
hashCode = 31 * hashCode + Objects.hashCode(lastModifiedTime());
hashCode = 31 * hashCode + Objects.hashCode(onlineStoreConfig());
hashCode = 31 * hashCode + Objects.hashCode(offlineStoreConfig());
hashCode = 31 * hashCode + Objects.hashCode(throughputConfig());
hashCode = 31 * hashCode + Objects.hashCode(roleArn());
hashCode = 31 * hashCode + Objects.hashCode(featureGroupStatusAsString());
hashCode = 31 * hashCode + Objects.hashCode(offlineStoreStatus());
hashCode = 31 * hashCode + Objects.hashCode(lastUpdateStatus());
hashCode = 31 * hashCode + Objects.hashCode(failureReason());
hashCode = 31 * hashCode + Objects.hashCode(description());
hashCode = 31 * hashCode + Objects.hashCode(nextToken());
hashCode = 31 * hashCode + Objects.hashCode(onlineStoreTotalSizeBytes());
return hashCode;
}
@Override
public final boolean equals(Object obj) {
return super.equals(obj) && equalsBySdkFields(obj);
}
@Override
public final boolean equalsBySdkFields(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (!(obj instanceof DescribeFeatureGroupResponse)) {
return false;
}
DescribeFeatureGroupResponse other = (DescribeFeatureGroupResponse) obj;
return Objects.equals(featureGroupArn(), other.featureGroupArn())
&& Objects.equals(featureGroupName(), other.featureGroupName())
&& Objects.equals(recordIdentifierFeatureName(), other.recordIdentifierFeatureName())
&& Objects.equals(eventTimeFeatureName(), other.eventTimeFeatureName())
&& hasFeatureDefinitions() == other.hasFeatureDefinitions()
&& Objects.equals(featureDefinitions(), other.featureDefinitions())
&& Objects.equals(creationTime(), other.creationTime())
&& Objects.equals(lastModifiedTime(), other.lastModifiedTime())
&& Objects.equals(onlineStoreConfig(), other.onlineStoreConfig())
&& Objects.equals(offlineStoreConfig(), other.offlineStoreConfig())
&& Objects.equals(throughputConfig(), other.throughputConfig()) && Objects.equals(roleArn(), other.roleArn())
&& Objects.equals(featureGroupStatusAsString(), other.featureGroupStatusAsString())
&& Objects.equals(offlineStoreStatus(), other.offlineStoreStatus())
&& Objects.equals(lastUpdateStatus(), other.lastUpdateStatus())
&& Objects.equals(failureReason(), other.failureReason()) && Objects.equals(description(), other.description())
&& Objects.equals(nextToken(), other.nextToken())
&& Objects.equals(onlineStoreTotalSizeBytes(), other.onlineStoreTotalSizeBytes());
}
/**
* 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.
*/
@Override
public final String toString() {
return ToString.builder("DescribeFeatureGroupResponse").add("FeatureGroupArn", featureGroupArn())
.add("FeatureGroupName", featureGroupName()).add("RecordIdentifierFeatureName", recordIdentifierFeatureName())
.add("EventTimeFeatureName", eventTimeFeatureName())
.add("FeatureDefinitions", hasFeatureDefinitions() ? featureDefinitions() : null)
.add("CreationTime", creationTime()).add("LastModifiedTime", lastModifiedTime())
.add("OnlineStoreConfig", onlineStoreConfig()).add("OfflineStoreConfig", offlineStoreConfig())
.add("ThroughputConfig", throughputConfig()).add("RoleArn", roleArn())
.add("FeatureGroupStatus", featureGroupStatusAsString()).add("OfflineStoreStatus", offlineStoreStatus())
.add("LastUpdateStatus", lastUpdateStatus()).add("FailureReason", failureReason())
.add("Description", description()).add("NextToken", nextToken())
.add("OnlineStoreTotalSizeBytes", onlineStoreTotalSizeBytes()).build();
}
public final Optional getValueForField(String fieldName, Class clazz) {
switch (fieldName) {
case "FeatureGroupArn":
return Optional.ofNullable(clazz.cast(featureGroupArn()));
case "FeatureGroupName":
return Optional.ofNullable(clazz.cast(featureGroupName()));
case "RecordIdentifierFeatureName":
return Optional.ofNullable(clazz.cast(recordIdentifierFeatureName()));
case "EventTimeFeatureName":
return Optional.ofNullable(clazz.cast(eventTimeFeatureName()));
case "FeatureDefinitions":
return Optional.ofNullable(clazz.cast(featureDefinitions()));
case "CreationTime":
return Optional.ofNullable(clazz.cast(creationTime()));
case "LastModifiedTime":
return Optional.ofNullable(clazz.cast(lastModifiedTime()));
case "OnlineStoreConfig":
return Optional.ofNullable(clazz.cast(onlineStoreConfig()));
case "OfflineStoreConfig":
return Optional.ofNullable(clazz.cast(offlineStoreConfig()));
case "ThroughputConfig":
return Optional.ofNullable(clazz.cast(throughputConfig()));
case "RoleArn":
return Optional.ofNullable(clazz.cast(roleArn()));
case "FeatureGroupStatus":
return Optional.ofNullable(clazz.cast(featureGroupStatusAsString()));
case "OfflineStoreStatus":
return Optional.ofNullable(clazz.cast(offlineStoreStatus()));
case "LastUpdateStatus":
return Optional.ofNullable(clazz.cast(lastUpdateStatus()));
case "FailureReason":
return Optional.ofNullable(clazz.cast(failureReason()));
case "Description":
return Optional.ofNullable(clazz.cast(description()));
case "NextToken":
return Optional.ofNullable(clazz.cast(nextToken()));
case "OnlineStoreTotalSizeBytes":
return Optional.ofNullable(clazz.cast(onlineStoreTotalSizeBytes()));
default:
return Optional.empty();
}
}
@Override
public final List> sdkFields() {
return SDK_FIELDS;
}
private static Function