Package com.ibm.cloud.is.vpc.v1.model
Class EndpointGatewayReservedIP
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.EndpointGatewayReservedIP
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
- Direct Known Subclasses:
EndpointGatewayReservedIPReservedIPIdentity
,EndpointGatewayReservedIPReservedIPPrototypeTargetContext
public class EndpointGatewayReservedIP extends com.ibm.cloud.sdk.core.service.model.GenericModel
A reserved IP to bind to the endpoint gateway. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP. The reserved IP will be bound to the endpoint gateway to function as a virtual private endpoint for the service. Classes which extend this class: - EndpointGatewayReservedIPReservedIPIdentity - EndpointGatewayReservedIPReservedIPPrototypeTargetContext
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
address()
Gets the address.Boolean
autoDelete()
Gets the autoDelete.String
href()
Gets the href.String
id()
Gets the id.String
name()
Gets the name.SubnetIdentity
subnet()
Gets the subnet.
-
-
-
Method Detail
-
id
public String id()
Gets the id. The unique identifier for this reserved IP.- Returns:
- the id
-
href
public String href()
Gets the href. The URL for this reserved IP.- Returns:
- the href
-
address
public String address()
Gets the address. The IP address to reserve, which must not already be reserved on the subnet. If unspecified, an available address on the subnet will automatically be selected.- Returns:
- the address
-
autoDelete
public Boolean autoDelete()
Gets the autoDelete. Indicates whether this reserved IP member will be automatically deleted when either `target` is deleted, or the reserved IP is unbound.- Returns:
- the autoDelete
-
name
public String name()
Gets the name. The name for this reserved IP. The name must not be used by another reserved IP in the subnet. Names starting with `ibm-` are reserved for provider-owned resources, and are not allowed. If unspecified, the name will be a hyphenated list of randomly-selected words.- Returns:
- the name
-
subnet
public SubnetIdentity subnet()
Gets the subnet. The subnet in which to create this reserved IP.- Returns:
- the subnet
-
-