Package com.ibm.cloud.is.vpc.v1.model
Class VPCDNSResolutionBinding
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.VPCDNSResolutionBinding
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class VPCDNSResolutionBinding extends com.ibm.cloud.sdk.core.service.model.GenericModel
VPCDNSResolutionBinding.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
VPCDNSResolutionBinding.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
VPCDNSResolutionBinding.LifecycleState
The lifecycle state of the DNS resolution binding.static interface
VPCDNSResolutionBinding.ResourceType
The resource type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getCreatedAt()
Gets the createdAt.List<EndpointGatewayReferenceRemote>
getEndpointGateways()
Gets the endpointGateways.List<VPCDNSResolutionBindingHealthReason>
getHealthReasons()
Gets the healthReasons.String
getHealthState()
Gets the healthState.String
getHref()
Gets the href.String
getId()
Gets the id.String
getLifecycleState()
Gets the lifecycleState.String
getName()
Gets the name.String
getResourceType()
Gets the resourceType.VPCReferenceRemote
getVpc()
Gets the vpc.
-
-
-
Method Detail
-
getCreatedAt
public Date getCreatedAt()
Gets the createdAt. The date and time that the DNS resolution binding was created.- Returns:
- the createdAt
-
getEndpointGateways
public List<EndpointGatewayReferenceRemote> getEndpointGateways()
Gets the endpointGateways. The endpoint gateways that have `allow_dns_resolution_binding` set to `true` and reside in the VPC that has `dns.enable_hub` set to `false`. The endpoint gateways may be remote and therefore may not be directly retrievable.- Returns:
- the endpointGateways
-
getHealthReasons
public List<VPCDNSResolutionBindingHealthReason> getHealthReasons()
Gets the healthReasons. The reasons for the current `health_state` (if any).- Returns:
- the healthReasons
-
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 DNS resolution binding.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this DNS resolution binding.- Returns:
- the id
-
getLifecycleState
public String getLifecycleState()
Gets the lifecycleState. The lifecycle state of the DNS resolution binding.- Returns:
- the lifecycleState
-
getName
public String getName()
Gets the name. The name for this DNS resolution binding. The name is unique across all DNS resolution bindings for the VPC.- Returns:
- the name
-
getResourceType
public String getResourceType()
Gets the resourceType. The resource type.- Returns:
- the resourceType
-
getVpc
public VPCReferenceRemote getVpc()
Gets the vpc. The VPC bound to for DNS resolution. The VPC may be remote and therefore may not be directly retrievable.- Returns:
- the vpc
-
-