@Generated(value="OracleSDKGenerator", comments="API Version: 20180530") public final class InstanceAgentCommandExecutionOutputViaTextDetails extends InstanceAgentCommandExecutionOutputContent
The execution output from a command when returned in plain text.
Note: Objects should always be created or deserialized using the InstanceAgentCommandExecutionOutputViaTextDetails.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the InstanceAgentCommandExecutionOutputViaTextDetails.Builder
, which maintain a
set of all explicitly set fields called InstanceAgentCommandExecutionOutputViaTextDetails.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
InstanceAgentCommandExecutionOutputViaTextDetails.Builder |
InstanceAgentCommandExecutionOutputContent.OutputType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
InstanceAgentCommandExecutionOutputViaTextDetails(Integer exitCode,
String message,
String text,
String textSha256)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static InstanceAgentCommandExecutionOutputViaTextDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getText()
The command output.
|
String |
getTextSha256()
SHA-256 checksum value of the text content.
|
int |
hashCode() |
InstanceAgentCommandExecutionOutputViaTextDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getExitCode, getMessage
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public InstanceAgentCommandExecutionOutputViaTextDetails(Integer exitCode, String message, String text, String textSha256)
public static InstanceAgentCommandExecutionOutputViaTextDetails.Builder builder()
Create a new builder.
public InstanceAgentCommandExecutionOutputViaTextDetails.Builder toBuilder()
public String getText()
The command output.
public String getTextSha256()
SHA-256 checksum value of the text content.
public String toString()
toString
in class InstanceAgentCommandExecutionOutputContent
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class InstanceAgentCommandExecutionOutputContent
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class InstanceAgentCommandExecutionOutputContent
public int hashCode()
hashCode
in class InstanceAgentCommandExecutionOutputContent
Copyright © 2016–2024. All rights reserved.