Package com.ibm.cloud.is.vpc.v1.model
Class EndpointGateway
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.EndpointGateway
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class EndpointGateway extends com.ibm.cloud.sdk.core.service.model.GenericModel
EndpointGateway.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
EndpointGateway.HealthState
The health of this resource: - `ok`: No abnormal behavior detected - `degraded`: Experiencing compromised performance, capacity, or connectivity - `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated - `inapplicable`: The health state does not apply because of the current lifecycle state.static interface
EndpointGateway.LifecycleState
The lifecycle state of the endpoint gateway.static interface
EndpointGateway.ResourceType
The resource type.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Date
getCreatedAt()
Gets the createdAt.String
getCrn()
Gets the crn.String
getHealthState()
Gets the healthState.String
getHref()
Gets the href.String
getId()
Gets the id.List<ReservedIPReference>
getIps()
Gets the ips.List<EndpointGatewayLifecycleReason>
getLifecycleReasons()
Gets the lifecycleReasons.String
getLifecycleState()
Gets the lifecycleState.String
getName()
Gets the name.ResourceGroupReference
getResourceGroup()
Gets the resourceGroup.String
getResourceType()
Gets the resourceType.List<SecurityGroupReference>
getSecurityGroups()
Gets the securityGroups.String
getServiceEndpoint()
Deprecated.this method is deprecated and may be removed in a future releaseList<String>
getServiceEndpoints()
Gets the serviceEndpoints.EndpointGatewayTarget
getTarget()
Gets the target.VPCReference
getVpc()
Gets the vpc.Boolean
isAllowDnsResolutionBinding()
Gets the allowDnsResolutionBinding.
-
-
-
Method Detail
-
isAllowDnsResolutionBinding
public Boolean isAllowDnsResolutionBinding()
Gets the allowDnsResolutionBinding. Indicates whether to allow DNS resolution for this endpoint gateway when the VPC this endpoint gateway resides in has a DNS resolution binding to a VPC with `dns.enable_hub` set to `true`.- Returns:
- the allowDnsResolutionBinding
-
getCreatedAt
public Date getCreatedAt()
Gets the createdAt. The date and time that the endpoint gateway was created.- Returns:
- the createdAt
-
getCrn
public String getCrn()
Gets the crn. The CRN for this endpoint gateway.- Returns:
- the crn
-
getHealthState
public String getHealthState()
Gets the healthState. The health of this resource: - `ok`: No abnormal behavior detected - `degraded`: Experiencing compromised performance, capacity, or connectivity - `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated - `inapplicable`: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of `failed` or `deleting` will have a health state of `inapplicable`. A `pending` resource may also have this state.- Returns:
- the healthState
-
getHref
public String getHref()
Gets the href. The URL for this endpoint gateway.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this endpoint gateway.- Returns:
- the id
-
getIps
public List<ReservedIPReference> getIps()
Gets the ips. The reserved IPs bound to this endpoint gateway.- Returns:
- the ips
-
getLifecycleReasons
public List<EndpointGatewayLifecycleReason> getLifecycleReasons()
Gets the lifecycleReasons. The reasons for the current `lifecycle_state` (if any).- Returns:
- the lifecycleReasons
-
getLifecycleState
public String getLifecycleState()
Gets the lifecycleState. The lifecycle state of the endpoint gateway.- Returns:
- the lifecycleState
-
getName
public String getName()
Gets the name. The name for this endpoint gateway. The name is unique across all endpoint gateways in the VPC.- Returns:
- the name
-
getResourceGroup
public ResourceGroupReference getResourceGroup()
Gets the resourceGroup. The resource group for this endpoint gateway.- Returns:
- the resourceGroup
-
getResourceType
public String getResourceType()
Gets the resourceType. The resource type.- Returns:
- the resourceType
-
getSecurityGroups
public List<SecurityGroupReference> getSecurityGroups()
Gets the securityGroups. The security groups targeting this endpoint gateway.- Returns:
- the securityGroups
-
getServiceEndpoint
@Deprecated public String getServiceEndpoint()
Deprecated.this method is deprecated and may be removed in a future releaseGets the serviceEndpoint. The fully qualified domain name for the target service.- Returns:
- the serviceEndpoint
-
getServiceEndpoints
public List<String> getServiceEndpoints()
Gets the serviceEndpoints. The fully qualified domain names for the target service.- Returns:
- the serviceEndpoints
-
getTarget
public EndpointGatewayTarget getTarget()
Gets the target. The target for this endpoint gateway.- Returns:
- the target
-
getVpc
public VPCReference getVpc()
Gets the vpc. The VPC this endpoint gateway resides in.- Returns:
- the vpc
-
-