Package com.ibm.cloud.is.vpc.v1.model
Class SecurityGroupTargetReference
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.SecurityGroupTargetReference
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
- Direct Known Subclasses:
SecurityGroupTargetReferenceBareMetalServerNetworkInterfaceReferenceTargetContext
,SecurityGroupTargetReferenceEndpointGatewayReference
,SecurityGroupTargetReferenceLoadBalancerReference
,SecurityGroupTargetReferenceNetworkInterfaceReferenceTargetContext
,SecurityGroupTargetReferenceVirtualNetworkInterfaceReference
,SecurityGroupTargetReferenceVPNServerReference
public class SecurityGroupTargetReference extends com.ibm.cloud.sdk.core.service.model.GenericModel
A target of this security group. The resources supported by this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. Classes which extend this class: - SecurityGroupTargetReferenceNetworkInterfaceReferenceTargetContext - SecurityGroupTargetReferenceBareMetalServerNetworkInterfaceReferenceTargetContext - SecurityGroupTargetReferenceLoadBalancerReference - SecurityGroupTargetReferenceEndpointGatewayReference - SecurityGroupTargetReferenceVPNServerReference - SecurityGroupTargetReferenceVirtualNetworkInterfaceReference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SecurityGroupTargetReference.ResourceType
The resource type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCrn()
Gets the crn.Deleted
getDeleted()
Gets the deleted.String
getHref()
Gets the href.String
getId()
Gets the id.String
getName()
Gets the name.ReservedIPReference
getPrimaryIp()
Gets the primaryIp.String
getResourceType()
Gets the resourceType.SubnetReference
getSubnet()
Gets the subnet.
-
-
-
Method Detail
-
getDeleted
public Deleted getDeleted()
Gets the deleted. If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.- Returns:
- the deleted
-
getHref
public String getHref()
Gets the href. The URL for this instance network interface. If this instance has network attachments, this network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network attachment.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this instance network interface. If this instance has network attachments, this network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network attachment and its attached virtual network interface, and the identifier is that of the corresponding network attachment.- Returns:
- the id
-
getName
public String getName()
Gets the name. The name for this instance network interface.- Returns:
- the name
-
getResourceType
public String getResourceType()
Gets the resourceType. The resource type.- Returns:
- the resourceType
-
getCrn
public String getCrn()
Gets the crn. The CRN for this load balancer.- Returns:
- the crn
-
getPrimaryIp
public ReservedIPReference getPrimaryIp()
Gets the primaryIp. The primary IP for this virtual network interface.- Returns:
- the primaryIp
-
getSubnet
public SubnetReference getSubnet()
Gets the subnet. The associated subnet.- Returns:
- the subnet
-
-