Package com.ibm.cloud.is.vpc.v1.model
Class ReservedIP
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.ReservedIP
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ReservedIP extends com.ibm.cloud.sdk.core.service.model.GenericModel
ReservedIP.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ReservedIP.LifecycleState
The lifecycle state of the reserved IP.static interface
ReservedIP.Owner
The owner of the reserved IP.static interface
ReservedIP.ResourceType
The resource type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAddress()
Gets the address.Date
getCreatedAt()
Gets the createdAt.String
getHref()
Gets the href.String
getId()
Gets the id.String
getLifecycleState()
Gets the lifecycleState.String
getName()
Gets the name.String
getOwner()
Gets the owner.String
getResourceType()
Gets the resourceType.ReservedIPTarget
getTarget()
Gets the target.Boolean
isAutoDelete()
Gets the autoDelete.
-
-
-
Method Detail
-
getAddress
public String getAddress()
Gets the address. The IP address. If the address has not yet been selected, the value will be `0.0.0.0`. This property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) to support IPv6 addresses in the future.- Returns:
- the address
-
isAutoDelete
public Boolean isAutoDelete()
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
-
getCreatedAt
public Date getCreatedAt()
Gets the createdAt. The date and time that the reserved IP was created.- Returns:
- the createdAt
-
getHref
public String getHref()
Gets the href. The URL for this reserved IP.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this reserved IP.- Returns:
- the id
-
getLifecycleState
public String getLifecycleState()
Gets the lifecycleState. The lifecycle state of the reserved IP.- Returns:
- the lifecycleState
-
getName
public String getName()
Gets the name. The name for this reserved IP. The name is unique across all reserved IPs in a subnet.- Returns:
- the name
-
getOwner
public String getOwner()
Gets the owner. The owner of the reserved IP. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the owner
-
getResourceType
public String getResourceType()
Gets the resourceType. The resource type.- Returns:
- the resourceType
-
getTarget
public ReservedIPTarget getTarget()
Gets the target. The target this reserved IP is bound to. If absent, this reserved IP is provider-owned or unbound. The resources supported by this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the target
-
-