Class OlvmAgent
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudmigrations.model.OlvmAgent
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220919") public final class OlvmAgent extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelType representing a fence agent.
Note: Objects should always be created or deserialized using theOlvmAgent.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 theOlvmAgent.Builder, which maintain a set of all explicitly set fields calledOlvmAgent.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOlvmAgent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OlvmAgent.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAddress()Fence agent addressStringgetComment()Free text containing comments about this object.StringgetDescription()Free text containing comments about this object.StringgetId()A unique identifier.BooleangetIsConcurrent()Specified whether the agent should be used concurrently or sequentiallyBooleangetIsEncryptOptions()Specifies whether the options should be encrypted.StringgetName()A human-readable name in plain textIntegergetOrder()The order of this agent if used with other agents.IntegergetPort()Fence agent port.StringgetType()Fence agent type.StringgetUsername()Fence agent user name.inthashCode()OlvmAgent.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
OlvmAgent
@Deprecated @ConstructorProperties({"address","comment","isConcurrent","description","isEncryptOptions","id","name","order","port","type","username"}) public OlvmAgent(String address, String comment, Boolean isConcurrent, String description, Boolean isEncryptOptions, String id, String name, Integer order, Integer port, String type, String username)
Deprecated.
-
-
Method Detail
-
builder
public static OlvmAgent.Builder builder()
Create a new builder.
-
toBuilder
public OlvmAgent.Builder toBuilder()
-
getAddress
public String getAddress()
Fence agent address- Returns:
- the value
-
getComment
public String getComment()
Free text containing comments about this object.- Returns:
- the value
-
getIsConcurrent
public Boolean getIsConcurrent()
Specified whether the agent should be used concurrently or sequentially- Returns:
- the value
-
getDescription
public String getDescription()
Free text containing comments about this object.- Returns:
- the value
-
getIsEncryptOptions
public Boolean getIsEncryptOptions()
Specifies whether the options should be encrypted.- Returns:
- the value
-
getId
public String getId()
A unique identifier.- Returns:
- the value
-
getName
public String getName()
A human-readable name in plain text- Returns:
- the value
-
getOrder
public Integer getOrder()
The order of this agent if used with other agents.- Returns:
- the value
-
getPort
public Integer getPort()
Fence agent port.- Returns:
- the value
-
getType
public String getType()
Fence agent type.- Returns:
- the value
-
getUsername
public String getUsername()
Fence agent user name.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-