Class SetupExecutionDetails
- java.lang.Object
-
- software.amazon.awssdk.services.lightsail.model.SetupExecutionDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SetupExecutionDetails.Builder,SetupExecutionDetails>
@Generated("software.amazon.awssdk:codegen") public final class SetupExecutionDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SetupExecutionDetails.Builder,SetupExecutionDetails>
Returns details about the commands that were run.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSetupExecutionDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SetupExecutionDetails.Builderbuilder()Stringcommand()The command that was executed.InstantdateTime()The timestamp for when the request was run.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the target resource.List<SdkField<?>>sdkFields()static Class<? extends SetupExecutionDetails.Builder>serializableBuilderClass()StringstandardError()The text written by the command to stderr.StringstandardOutput()The text written by the command to stdout.SetupStatusstatus()The status of theSetupInstanceHttpsrequest.StringstatusAsString()The status of theSetupInstanceHttpsrequest.SetupExecutionDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringversion()The current version of the script..-
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
-
command
public final String command()
The command that was executed.
- Returns:
- The command that was executed.
-
dateTime
public final Instant dateTime()
The timestamp for when the request was run.
- Returns:
- The timestamp for when the request was run.
-
name
public final String name()
The name of the target resource.
- Returns:
- The name of the target resource.
-
status
public final SetupStatus status()
The status of the
SetupInstanceHttpsrequest.If the service returns an enum value that is not available in the current SDK version,
statuswill returnSetupStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the
SetupInstanceHttpsrequest. - See Also:
SetupStatus
-
statusAsString
public final String statusAsString()
The status of the
SetupInstanceHttpsrequest.If the service returns an enum value that is not available in the current SDK version,
statuswill returnSetupStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the
SetupInstanceHttpsrequest. - See Also:
SetupStatus
-
standardError
public final String standardError()
The text written by the command to stderr.
- Returns:
- The text written by the command to stderr.
-
standardOutput
public final String standardOutput()
The text written by the command to stdout.
- Returns:
- The text written by the command to stdout.
-
version
public final String version()
The current version of the script..
- Returns:
- The current version of the script..
-
toBuilder
public SetupExecutionDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SetupExecutionDetails.Builder,SetupExecutionDetails>
-
builder
public static SetupExecutionDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends SetupExecutionDetails.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.
-
-