Class APIEndpointDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.publisher.api.v1.dto.APIEndpointDTO
-
public class APIEndpointDTO extends Object
APIEndpointDTO
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_DEPLOYMENT_STAGEstatic StringSERIALIZED_NAME_ENDPOINT_CONFIGstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_NAME
-
Constructor Summary
Constructors Constructor Description APIEndpointDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description APIEndpointDTOdeploymentStage(String deploymentStage)APIEndpointDTOendpointConfig(Object endpointConfig)booleanequals(Object o)StringgetDeploymentStage()Get deploymentStageObjectgetEndpointConfig()Endpoint configuration of the API.StringgetId()Get idStringgetName()Get nameinthashCode()APIEndpointDTOid(String id)APIEndpointDTOname(String name)voidsetDeploymentStage(String deploymentStage)voidsetEndpointConfig(Object endpointConfig)voidsetId(String id)voidsetName(String name)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DEPLOYMENT_STAGE
public static final String SERIALIZED_NAME_DEPLOYMENT_STAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENDPOINT_CONFIG
public static final String SERIALIZED_NAME_ENDPOINT_CONFIG
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public APIEndpointDTO id(String id)
-
setId
public void setId(String id)
-
name
public APIEndpointDTO name(String name)
-
getName
public String getName()
Get name- Returns:
- name
-
setName
public void setName(String name)
-
deploymentStage
public APIEndpointDTO deploymentStage(String deploymentStage)
-
getDeploymentStage
@Nullable public String getDeploymentStage()
Get deploymentStage- Returns:
- deploymentStage
-
setDeploymentStage
public void setDeploymentStage(String deploymentStage)
-
endpointConfig
public APIEndpointDTO endpointConfig(Object endpointConfig)
-
getEndpointConfig
@Nullable public Object getEndpointConfig()
Endpoint configuration of the API. This can be used to provide different types of endpoints including Simple REST Endpoints, Loadbalanced and Failover.- Returns:
- endpointConfig
-
setEndpointConfig
public void setEndpointConfig(Object endpointConfig)
-
-