Package com.ibm.cloud.is.vpc.v1.model
Class DefaultNetworkACL
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.DefaultNetworkACL
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class DefaultNetworkACL extends com.ibm.cloud.sdk.core.service.model.GenericModel
DefaultNetworkACL.
-
-
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 of the default network ACL created for a VPC. The name will be a hyphenated list of randomly-selected words at creation, but may be changed.- Returns:
- the name
-
getResourceGroup
public ResourceGroupReference getResourceGroup()
Gets the resourceGroup. The resource group for the default network ACL for a VPC. Set to the VPC's resource group at creation.- Returns:
- the resourceGroup
-
getRules
public List<NetworkACLRuleItem> getRules()
Gets the rules. The ordered rules for the default network ACL for a VPC. Defaults to two rules which allow all inbound and outbound traffic, respectively. Rules for the default network ACL may be changed, added, or removed.- 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
-
-