Package com.ibm.cloud.is.vpc.v1.model
Class NetworkACL
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.NetworkACL
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class NetworkACL extends com.ibm.cloud.sdk.core.service.model.GenericModel
NetworkACL.
-
-
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.String
getName()
Gets the name.ResourceGroupReference
getResourceGroup()
Gets the resourceGroup.List<NetworkACLRuleItem>
getRules()
Gets the rules.List<SubnetReference>
getSubnets()
Gets the subnets.VPCReference
getVpc()
Gets the vpc.
-
-
-
Method Detail
-
getCreatedAt
public Date getCreatedAt()
Gets the createdAt. The date and time that the network ACL was created.- Returns:
- the createdAt
-
getCrn
public String getCrn()
Gets the crn. The CRN for this network ACL.- Returns:
- the crn
-
getHref
public String getHref()
Gets the href. The URL for this network ACL.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this network ACL.- Returns:
- the id
-
getName
public String getName()
Gets the name. The name for this network ACL. The name is unique across all network ACLs for the VPC.- Returns:
- the name
-
getResourceGroup
public ResourceGroupReference getResourceGroup()
Gets the resourceGroup. The resource group for this network ACL.- Returns:
- the resourceGroup
-
getRules
public List<NetworkACLRuleItem> getRules()
Gets the rules. The ordered rules for this network ACL. If no rules exist, all traffic will be denied.- Returns:
- the rules
-
getSubnets
public List<SubnetReference> getSubnets()
Gets the subnets. The subnets to which this network ACL is attached.- Returns:
- the subnets
-
getVpc
public VPCReference getVpc()
Gets the vpc. The VPC this network ACL resides in.- Returns:
- the vpc
-
-