@Generated(value="OracleSDKGenerator", comments="API Version: 20180530") public final class InstanceAgentCommandSourceViaTextDetails extends InstanceAgentCommandSourceDetails
The source of the command when provided using plain text.
Note: Objects should always be created or deserialized using the InstanceAgentCommandSourceViaTextDetails.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 InstanceAgentCommandSourceViaTextDetails.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
InstanceAgentCommandSourceViaTextDetails.Builder |
InstanceAgentCommandSourceDetails.SourceType
Constructor and Description |
---|
InstanceAgentCommandSourceViaTextDetails(String text,
String textSha256)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static InstanceAgentCommandSourceViaTextDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getText()
The plain text command.
|
String |
getTextSha256()
SHA-256 checksum value of the text content.
|
int |
hashCode() |
InstanceAgentCommandSourceViaTextDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public InstanceAgentCommandSourceViaTextDetails(String text, String textSha256)
public static InstanceAgentCommandSourceViaTextDetails.Builder builder()
Create a new builder.
public InstanceAgentCommandSourceViaTextDetails.Builder toBuilder()
public String getText()
The plain text command.
public String getTextSha256()
SHA-256 checksum value of the text content.
public String toString()
toString
in class InstanceAgentCommandSourceDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class InstanceAgentCommandSourceDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class InstanceAgentCommandSourceDetails
public int hashCode()
hashCode
in class InstanceAgentCommandSourceDetails
Copyright © 2016–2023. All rights reserved.