@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServerReplicationConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Replication configuration of a server.
Constructor and Description |
---|
ServerReplicationConfiguration() |
Modifier and Type | Method and Description |
---|---|
ServerReplicationConfiguration |
clone() |
boolean |
equals(Object obj) |
Server |
getServer()
The ID of the server with which this replication configuration is associated.
|
ServerReplicationParameters |
getServerReplicationParameters()
The parameters for replicating the server.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setServer(Server server)
The ID of the server with which this replication configuration is associated.
|
void |
setServerReplicationParameters(ServerReplicationParameters serverReplicationParameters)
The parameters for replicating the server.
|
String |
toString()
Returns a string representation of this object.
|
ServerReplicationConfiguration |
withServer(Server server)
The ID of the server with which this replication configuration is associated.
|
ServerReplicationConfiguration |
withServerReplicationParameters(ServerReplicationParameters serverReplicationParameters)
The parameters for replicating the server.
|
public void setServer(Server server)
The ID of the server with which this replication configuration is associated.
server
- The ID of the server with which this replication configuration is associated.public Server getServer()
The ID of the server with which this replication configuration is associated.
public ServerReplicationConfiguration withServer(Server server)
The ID of the server with which this replication configuration is associated.
server
- The ID of the server with which this replication configuration is associated.public void setServerReplicationParameters(ServerReplicationParameters serverReplicationParameters)
The parameters for replicating the server.
serverReplicationParameters
- The parameters for replicating the server.public ServerReplicationParameters getServerReplicationParameters()
The parameters for replicating the server.
public ServerReplicationConfiguration withServerReplicationParameters(ServerReplicationParameters serverReplicationParameters)
The parameters for replicating the server.
serverReplicationParameters
- The parameters for replicating the server.public String toString()
toString
in class Object
Object.toString()
public ServerReplicationConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.