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.GenericModelEndpointGateway.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEndpointGateway.HealthStateThe health of this resource.static interfaceEndpointGateway.LifecycleStateThe lifecycle state of the endpoint gateway.static interfaceEndpointGateway.ResourceTypeThe resource type.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DategetCreatedAt()Gets the createdAt.StringgetCrn()Gets the crn.StringgetHealthState()Gets the healthState.StringgetHref()Gets the href.StringgetId()Gets the id.List<ReservedIPReference>getIps()Gets the ips.List<EndpointGatewayLifecycleReason>getLifecycleReasons()Gets the lifecycleReasons.StringgetLifecycleState()Gets the lifecycleState.StringgetName()Gets the name.ResourceGroupReferencegetResourceGroup()Gets the resourceGroup.StringgetResourceType()Gets the resourceType.List<SecurityGroupReference>getSecurityGroups()Gets the securityGroups.StringgetServiceEndpoint()Deprecated.this method is deprecated and may be removed in a future releaseList<String>getServiceEndpoints()Gets the serviceEndpoints.EndpointGatewayTargetgetTarget()Gets the target.VPCReferencegetVpc()Gets the vpc.BooleanisAllowDnsResolutionBinding()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): - `dns_resolution_binding_pending`: the DNS resolution binding is being set up.- 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
-
-