Class AgentAliasHistoryEvent
java.lang.Object
software.amazon.awssdk.services.bedrockagent.model.AgentAliasHistoryEvent
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AgentAliasHistoryEvent.Builder,AgentAliasHistoryEvent>
@Generated("software.amazon.awssdk:codegen")
public final class AgentAliasHistoryEvent
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<AgentAliasHistoryEvent.Builder,AgentAliasHistoryEvent>
Contains details about the history of the alias.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final InstantendDate()The date that the alias stopped being associated to the version in theroutingConfigurationobjectfinal booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final booleanFor responses, this returns true if the service returned a value for the RoutingConfiguration property.Contains details about the version of the agent with which the alias is associated.static Class<? extends AgentAliasHistoryEvent.Builder>final InstantThe date that the alias began being associated to the version in theroutingConfigurationobject.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
hasRoutingConfiguration
public final boolean hasRoutingConfiguration()For responses, this returns true if the service returned a value for the RoutingConfiguration property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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. -
routingConfiguration
Contains details about the version of the agent with which the alias is associated.
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
hasRoutingConfiguration()method.- Returns:
- Contains details about the version of the agent with which the alias is associated.
-
endDate
The date that the alias stopped being associated to the version in the
routingConfigurationobject- Returns:
- The date that the alias stopped being associated to the version in the
routingConfigurationobject
-
startDate
The date that the alias began being associated to the version in the
routingConfigurationobject.- Returns:
- The date that the alias began being associated to the version in the
routingConfigurationobject.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<AgentAliasHistoryEvent.Builder,AgentAliasHistoryEvent>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-