@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) |
String |
getContainerName()
The container name value, already specified in the task definition, to be used for your service discovery
service.
|
Integer |
getContainerPort()
The port value, already specified in the task definition, to be used for your service discovery service.
|
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 |
setContainerName(String containerName)
The container name value, already specified in the task definition, to be used for your service discovery
service.
|
void |
setContainerPort(Integer containerPort)
The port value, already specified in the task definition, to be used for your service discovery service.
|
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.
|
ServiceRegistry |
withContainerName(String containerName)
The container name value, already specified in the task definition, to be used for your service discovery
service.
|
ServiceRegistry |
withContainerPort(Integer containerPort)
The port value, already specified in the task definition, to be used for your service discovery service.
|
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 AWS Cloud Map. For more information, see CreateService.
registryArn
- The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is AWS
Cloud Map. For more information, see CreateService.public String getRegistryArn()
The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is AWS Cloud Map. For more information, see CreateService.
public ServiceRegistry withRegistryArn(String registryArn)
The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is AWS Cloud Map. For more information, see CreateService.
registryArn
- The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is AWS
Cloud Map. For more information, see CreateService.public void setPort(Integer port)
The port value used if your service discovery service specified an SRV record. This field may be used if both the
awsvpc
network mode and SRV records are used.
port
- The port value used if your service discovery service specified an SRV record. This field may be used if
both the awsvpc
network mode and SRV records are used.public Integer getPort()
The port value used if your service discovery service specified an SRV record. This field may be used if both the
awsvpc
network mode and SRV records are used.
awsvpc
network mode and SRV records are used.public ServiceRegistry withPort(Integer port)
The port value used if your service discovery service specified an SRV record. This field may be used if both the
awsvpc
network mode and SRV records are used.
port
- The port value used if your service discovery service specified an SRV record. This field may be used if
both the awsvpc
network mode and SRV records are used.public void setContainerName(String containerName)
The container name value, already specified in the task definition, to be used for your service discovery
service. If the task definition that your service task specifies uses the bridge
or
host
network mode, you must specify a containerName
and containerPort
combination from the task definition. If the task definition that your service task specifies uses the
awsvpc
network mode and a type SRV DNS record is used, you must specify either a
containerName
and containerPort
combination or a port
value, but not both.
containerName
- The container name value, already specified in the task definition, to be used for your service discovery
service. If the task definition that your service task specifies uses the bridge
or
host
network mode, you must specify a containerName
and
containerPort
combination from the task definition. If the task definition that your service
task specifies uses the awsvpc
network mode and a type SRV DNS record is used, you must
specify either a containerName
and containerPort
combination or a
port
value, but not both.public String getContainerName()
The container name value, already specified in the task definition, to be used for your service discovery
service. If the task definition that your service task specifies uses the bridge
or
host
network mode, you must specify a containerName
and containerPort
combination from the task definition. If the task definition that your service task specifies uses the
awsvpc
network mode and a type SRV DNS record is used, you must specify either a
containerName
and containerPort
combination or a port
value, but not both.
bridge
or
host
network mode, you must specify a containerName
and
containerPort
combination from the task definition. If the task definition that your service
task specifies uses the awsvpc
network mode and a type SRV DNS record is used, you must
specify either a containerName
and containerPort
combination or a
port
value, but not both.public ServiceRegistry withContainerName(String containerName)
The container name value, already specified in the task definition, to be used for your service discovery
service. If the task definition that your service task specifies uses the bridge
or
host
network mode, you must specify a containerName
and containerPort
combination from the task definition. If the task definition that your service task specifies uses the
awsvpc
network mode and a type SRV DNS record is used, you must specify either a
containerName
and containerPort
combination or a port
value, but not both.
containerName
- The container name value, already specified in the task definition, to be used for your service discovery
service. If the task definition that your service task specifies uses the bridge
or
host
network mode, you must specify a containerName
and
containerPort
combination from the task definition. If the task definition that your service
task specifies uses the awsvpc
network mode and a type SRV DNS record is used, you must
specify either a containerName
and containerPort
combination or a
port
value, but not both.public void setContainerPort(Integer containerPort)
The port value, already specified in the task definition, to be used for your service discovery service. If the
task definition your service task specifies uses the bridge
or host
network mode, you
must specify a containerName
and containerPort
combination from the task definition. If
the task definition your service task specifies uses the awsvpc
network mode and a type SRV DNS
record is used, you must specify either a containerName
and containerPort
combination
or a port
value, but not both.
containerPort
- The port value, already specified in the task definition, to be used for your service discovery service.
If the task definition your service task specifies uses the bridge
or host
network mode, you must specify a containerName
and containerPort
combination
from the task definition. If the task definition your service task specifies uses the awsvpc
network mode and a type SRV DNS record is used, you must specify either a containerName
and
containerPort
combination or a port
value, but not both.public Integer getContainerPort()
The port value, already specified in the task definition, to be used for your service discovery service. If the
task definition your service task specifies uses the bridge
or host
network mode, you
must specify a containerName
and containerPort
combination from the task definition. If
the task definition your service task specifies uses the awsvpc
network mode and a type SRV DNS
record is used, you must specify either a containerName
and containerPort
combination
or a port
value, but not both.
bridge
or host
network mode, you must specify a containerName
and containerPort
combination
from the task definition. If the task definition your service task specifies uses the awsvpc
network mode and a type SRV DNS record is used, you must specify either a containerName
and
containerPort
combination or a port
value, but not both.public ServiceRegistry withContainerPort(Integer containerPort)
The port value, already specified in the task definition, to be used for your service discovery service. If the
task definition your service task specifies uses the bridge
or host
network mode, you
must specify a containerName
and containerPort
combination from the task definition. If
the task definition your service task specifies uses the awsvpc
network mode and a type SRV DNS
record is used, you must specify either a containerName
and containerPort
combination
or a port
value, but not both.
containerPort
- The port value, already specified in the task definition, to be used for your service discovery service.
If the task definition your service task specifies uses the bridge
or host
network mode, you must specify a containerName
and containerPort
combination
from the task definition. If the task definition your service task specifies uses the awsvpc
network mode and a type SRV DNS record is used, you must specify either a containerName
and
containerPort
combination or a port
value, but not both.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.