Class SimulationMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.simspaceweaver.model.SimulationMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SimulationMetadata.Builder,SimulationMetadata>
@Generated("software.amazon.awssdk:codegen") public final class SimulationMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SimulationMetadata.Builder,SimulationMetadata>
A collection of data about the simulation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSimulationMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the simulation.static SimulationMetadata.Builderbuilder()InstantcreationTime()The time when the simulation was created, expressed as the number of seconds and milliseconds in UTC since the Unix epoch (0:0:0.000, January 1, 1970).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the simulation.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SimulationMetadata.Builder>serializableBuilderClass()SimulationStatusstatus()The current status of the simulation.StringstatusAsString()The current status of the simulation.SimulationTargetStatustargetStatus()The desired status of the simulation.StringtargetStatusAsString()The desired status of the simulation.SimulationMetadata.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the simulation. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
- Returns:
- The Amazon Resource Name (ARN) of the simulation. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
-
creationTime
public final Instant creationTime()
The time when the simulation was created, expressed as the number of seconds and milliseconds in UTC since the Unix epoch (0:0:0.000, January 1, 1970).
- Returns:
- The time when the simulation was created, expressed as the number of seconds and milliseconds in UTC since the Unix epoch (0:0:0.000, January 1, 1970).
-
name
public final String name()
The name of the simulation.
- Returns:
- The name of the simulation.
-
status
public final SimulationStatus status()
The current status of the simulation.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSimulationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the simulation.
- See Also:
SimulationStatus
-
statusAsString
public final String statusAsString()
The current status of the simulation.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSimulationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the simulation.
- See Also:
SimulationStatus
-
targetStatus
public final SimulationTargetStatus targetStatus()
The desired status of the simulation.
If the service returns an enum value that is not available in the current SDK version,
targetStatuswill returnSimulationTargetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetStatusAsString().- Returns:
- The desired status of the simulation.
- See Also:
SimulationTargetStatus
-
targetStatusAsString
public final String targetStatusAsString()
The desired status of the simulation.
If the service returns an enum value that is not available in the current SDK version,
targetStatuswill returnSimulationTargetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetStatusAsString().- Returns:
- The desired status of the simulation.
- See Also:
SimulationTargetStatus
-
toBuilder
public SimulationMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SimulationMetadata.Builder,SimulationMetadata>
-
builder
public static SimulationMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends SimulationMetadata.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-