@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceRegistry extends Object implements Serializable, Cloneable, StructuredPojo
Details of the service registry.
Constructor and Description |
---|
ServiceRegistry() |
Modifier and Type | Method and Description |
---|---|
ServiceRegistry |
clone() |
boolean |
equals(Object obj) |
Integer |
getPort()
The port value used if your Service Discovery service specified an SRV record.
|
String |
getRegistryArn()
The Amazon Resource Name (ARN) of the Service Registry.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPort(Integer port)
The port value used if your Service Discovery service specified an SRV record.
|
void |
setRegistryArn(String registryArn)
The Amazon Resource Name (ARN) of the Service Registry.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ServiceRegistry |
withPort(Integer port)
The port value used if your Service Discovery service specified an SRV record.
|
ServiceRegistry |
withRegistryArn(String registryArn)
The Amazon Resource Name (ARN) of the Service Registry.
|
public void setRegistryArn(String registryArn)
The Amazon Resource Name (ARN) of the Service Registry. The currently supported service registry is Amazon Route 53 Auto Naming Service. For more information, see Service.
registryArn
- The Amazon Resource Name (ARN) of the Service Registry. The currently supported service registry is Amazon
Route 53 Auto Naming Service. For more information, see Service.public String getRegistryArn()
The Amazon Resource Name (ARN) of the Service Registry. The currently supported service registry is Amazon Route 53 Auto Naming Service. For more information, see Service.
public ServiceRegistry withRegistryArn(String registryArn)
The Amazon Resource Name (ARN) of the Service Registry. The currently supported service registry is Amazon Route 53 Auto Naming Service. For more information, see Service.
registryArn
- The Amazon Resource Name (ARN) of the Service Registry. The currently supported service registry is Amazon
Route 53 Auto Naming Service. For more information, see Service.public void setPort(Integer port)
The port value used if your Service Discovery service specified an SRV record.
port
- The port value used if your Service Discovery service specified an SRV record.public Integer getPort()
The port value used if your Service Discovery service specified an SRV record.
public ServiceRegistry withPort(Integer port)
The port value used if your Service Discovery service specified an SRV record.
port
- The port value used if your Service Discovery service specified an SRV record.public String toString()
toString
in class Object
Object.toString()
public ServiceRegistry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.