Class Server
- java.lang.Object
-
- software.amazon.awssdk.services.sms.model.Server
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Server.Builder,Server>
@Generated("software.amazon.awssdk:codegen") public final class Server extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Server.Builder,Server>
Represents a server.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServer.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Server.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringreplicationJobId()The ID of the replication job.BooleanreplicationJobTerminated()Indicates whether the replication job is deleted or failed.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Server.Builder>serializableBuilderClass()StringserverId()The ID of the server.ServerTypeserverType()The type of server.StringserverTypeAsString()The type of server.Server.BuildertoBuilder()StringtoString()Returns a string representation of this object.VmServervmServer()Information about the VM server.-
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
-
serverId
public final String serverId()
The ID of the server.
- Returns:
- The ID of the server.
-
serverType
public final ServerType serverType()
The type of server.
If the service returns an enum value that is not available in the current SDK version,
serverTypewill returnServerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromserverTypeAsString().- Returns:
- The type of server.
- See Also:
ServerType
-
serverTypeAsString
public final String serverTypeAsString()
The type of server.
If the service returns an enum value that is not available in the current SDK version,
serverTypewill returnServerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromserverTypeAsString().- Returns:
- The type of server.
- See Also:
ServerType
-
vmServer
public final VmServer vmServer()
Information about the VM server.
- Returns:
- Information about the VM server.
-
replicationJobId
public final String replicationJobId()
The ID of the replication job.
- Returns:
- The ID of the replication job.
-
replicationJobTerminated
public final Boolean replicationJobTerminated()
Indicates whether the replication job is deleted or failed.
- Returns:
- Indicates whether the replication job is deleted or failed.
-
toBuilder
public Server.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Server.Builder,Server>
-
builder
public static Server.Builder builder()
-
serializableBuilderClass
public static Class<? extends Server.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
-
-