Package com.ibm.cloud.is.vpc.v1.model
Class ClusterNetwork
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.ClusterNetwork
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ClusterNetwork extends com.ibm.cloud.sdk.core.service.model.GenericModel
ClusterNetwork.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ClusterNetwork.LifecycleState
The lifecycle state of the cluster network.static interface
ClusterNetwork.ResourceType
The resource type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getCreatedAt()
Gets the createdAt.String
getCrn()
Gets the crn.String
getHref()
Gets the href.String
getId()
Gets the id.List<ClusterNetworkLifecycleReason>
getLifecycleReasons()
Gets the lifecycleReasons.String
getLifecycleState()
Gets the lifecycleState.String
getName()
Gets the name.ClusterNetworkProfileReference
getProfile()
Gets the profile.ResourceGroupReference
getResourceGroup()
Gets the resourceGroup.String
getResourceType()
Gets the resourceType.List<ClusterNetworkSubnetPrefix>
getSubnetPrefixes()
Gets the subnetPrefixes.VPCReference
getVpc()
Gets the vpc.ZoneReference
getZone()
Gets the zone.
-
-
-
Method Detail
-
getCreatedAt
public Date getCreatedAt()
Gets the createdAt. The date and time that the cluster network was created.- Returns:
- the createdAt
-
getCrn
public String getCrn()
Gets the crn. The CRN for this cluster network.- Returns:
- the crn
-
getHref
public String getHref()
Gets the href. The URL for this cluster network.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this cluster network.- Returns:
- the id
-
getLifecycleReasons
public List<ClusterNetworkLifecycleReason> 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 cluster network.- Returns:
- the lifecycleState
-
getName
public String getName()
Gets the name. The name for this cluster network. The name must not be used by another cluster network in the region.- Returns:
- the name
-
getProfile
public ClusterNetworkProfileReference getProfile()
Gets the profile. The profile for this cluster network.- Returns:
- the profile
-
getResourceGroup
public ResourceGroupReference getResourceGroup()
Gets the resourceGroup. The resource group for this cluster network.- Returns:
- the resourceGroup
-
getResourceType
public String getResourceType()
Gets the resourceType. The resource type.- Returns:
- the resourceType
-
getSubnetPrefixes
public List<ClusterNetworkSubnetPrefix> getSubnetPrefixes()
Gets the subnetPrefixes. The IP address ranges available for subnets for this cluster network.- Returns:
- the subnetPrefixes
-
getVpc
public VPCReference getVpc()
Gets the vpc. The VPC this cluster network resides in.- Returns:
- the vpc
-
getZone
public ZoneReference getZone()
Gets the zone. The zone this cluster network resides in.- Returns:
- the zone
-
-