Class FirewallAccessRules
- java.lang.Object
- 
- com.ibm.cloud.sdk.core.service.BaseService
- 
- com.ibm.cloud.networking.firewall_access_rules.v1.FirewallAccessRules
 
 
- 
 public class FirewallAccessRules extends com.ibm.cloud.sdk.core.service.BaseServiceInstance Level Firewall Access Rules.- Version:
- v1
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringDEFAULT_SERVICE_NAMEstatic StringDEFAULT_SERVICE_URL
 - 
Constructor SummaryConstructors Constructor Description FirewallAccessRules(String crn, String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)Constructs an instance of the `FirewallAccessRules` client.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.ibm.cloud.sdk.core.http.ServiceCall<AccountAccessRuleResp>createAccountAccessRule()Create instance level firewall access rule.com.ibm.cloud.sdk.core.http.ServiceCall<AccountAccessRuleResp>createAccountAccessRule(CreateAccountAccessRuleOptions createAccountAccessRuleOptions)Create instance level firewall access rule.com.ibm.cloud.sdk.core.http.ServiceCall<DeleteAccountAccessRuleResp>deleteAccountAccessRule(DeleteAccountAccessRuleOptions deleteAccountAccessRuleOptions)Delete instance level access rule.com.ibm.cloud.sdk.core.http.ServiceCall<AccountAccessRuleResp>getAccountAccessRule(GetAccountAccessRuleOptions getAccountAccessRuleOptions)Get instance level firewall access rule.StringgetCrn()Gets the crn.com.ibm.cloud.sdk.core.http.ServiceCall<ListAccountAccessRulesResp>listAllAccountAccessRules()List instance level firewall access rules.com.ibm.cloud.sdk.core.http.ServiceCall<ListAccountAccessRulesResp>listAllAccountAccessRules(ListAllAccountAccessRulesOptions listAllAccountAccessRulesOptions)List instance level firewall access rules.static FirewallAccessRulesnewInstance(String crn)Class method which constructs an instance of the `FirewallAccessRules` client.static FirewallAccessRulesnewInstance(String crn, String serviceName)Class method which constructs an instance of the `FirewallAccessRules` client.voidsetCrn(String crn)Sets the crn.com.ibm.cloud.sdk.core.http.ServiceCall<AccountAccessRuleResp>updateAccountAccessRule(UpdateAccountAccessRuleOptions updateAccountAccessRuleOptions)Update instance level firewall access rule.- 
Methods inherited from class com.ibm.cloud.sdk.core.service.BaseServiceconfigureClient, configureService, constructServiceUrl, constructServiceURL, disableRetries, enableGzipCompression, enableRetries, getAuthenticator, getClient, getDefaultHeaders, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, setClient, setDefaultHeaders, setEndPoint, setServiceUrl, toString
 
- 
 
- 
- 
- 
Field Detail- 
DEFAULT_SERVICE_NAMEpublic static final String DEFAULT_SERVICE_NAME - See Also:
- Constant Field Values
 
 - 
DEFAULT_SERVICE_URLpublic static final String DEFAULT_SERVICE_URL - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
FirewallAccessRulespublic FirewallAccessRules(String crn, String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator) Constructs an instance of the `FirewallAccessRules` client. The specified service name and authenticator are used to configure the client instance.- Parameters:
- crn- Full crn of the service instance.
- serviceName- the service name to be used when configuring the client instance
- authenticator- the- Authenticatorinstance to be configured for this client
 
 
- 
 - 
Method Detail- 
newInstancepublic static FirewallAccessRules newInstance(String crn) Class method which constructs an instance of the `FirewallAccessRules` client. The default service name is used to configure the client instance.- Parameters:
- crn- Full crn of the service instance.
- Returns:
- an instance of the `FirewallAccessRules` client using external configuration
 
 - 
newInstancepublic static FirewallAccessRules newInstance(String crn, String serviceName) Class method which constructs an instance of the `FirewallAccessRules` client. The specified service name is used to configure the client instance.- Parameters:
- crn- Full crn of the service instance.
- serviceName- the service name to be used when configuring the client instance
- Returns:
- an instance of the `FirewallAccessRules` client using external configuration
 
 - 
getCrnpublic String getCrn() Gets the crn. Full crn of the service instance.- Returns:
- the crn
 
 - 
setCrnpublic void setCrn(String crn) Sets the crn.- Parameters:
- crn- the new crn
 
 - 
listAllAccountAccessRulespublic com.ibm.cloud.sdk.core.http.ServiceCall<ListAccountAccessRulesResp> listAllAccountAccessRules(ListAllAccountAccessRulesOptions listAllAccountAccessRulesOptions) List instance level firewall access rules. List all instance level firewall access rules.- Parameters:
- listAllAccountAccessRulesOptions- the- ListAllAccountAccessRulesOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeListAccountAccessRulesResp
 
 - 
listAllAccountAccessRulespublic com.ibm.cloud.sdk.core.http.ServiceCall<ListAccountAccessRulesResp> listAllAccountAccessRules() List instance level firewall access rules. List all instance level firewall access rules.- Returns:
- a ServiceCallwith a result of typeListAccountAccessRulesResp
 
 - 
createAccountAccessRulepublic com.ibm.cloud.sdk.core.http.ServiceCall<AccountAccessRuleResp> createAccountAccessRule(CreateAccountAccessRuleOptions createAccountAccessRuleOptions) Create instance level firewall access rule. Create a new instance level firewall access rule for a given service instance.- Parameters:
- createAccountAccessRuleOptions- the- CreateAccountAccessRuleOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeAccountAccessRuleResp
 
 - 
createAccountAccessRulepublic com.ibm.cloud.sdk.core.http.ServiceCall<AccountAccessRuleResp> createAccountAccessRule() Create instance level firewall access rule. Create a new instance level firewall access rule for a given service instance.- Returns:
- a ServiceCallwith a result of typeAccountAccessRuleResp
 
 - 
deleteAccountAccessRulepublic com.ibm.cloud.sdk.core.http.ServiceCall<DeleteAccountAccessRuleResp> deleteAccountAccessRule(DeleteAccountAccessRuleOptions deleteAccountAccessRuleOptions) Delete instance level access rule. Delete an instance level access rule given its id.- Parameters:
- deleteAccountAccessRuleOptions- the- DeleteAccountAccessRuleOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeDeleteAccountAccessRuleResp
 
 - 
getAccountAccessRulepublic com.ibm.cloud.sdk.core.http.ServiceCall<AccountAccessRuleResp> getAccountAccessRule(GetAccountAccessRuleOptions getAccountAccessRuleOptions) Get instance level firewall access rule. Get the details of an instance level firewall access rule for a given service instance.- Parameters:
- getAccountAccessRuleOptions- the- GetAccountAccessRuleOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeAccountAccessRuleResp
 
 - 
updateAccountAccessRulepublic com.ibm.cloud.sdk.core.http.ServiceCall<AccountAccessRuleResp> updateAccountAccessRule(UpdateAccountAccessRuleOptions updateAccountAccessRuleOptions) Update instance level firewall access rule. Update an existing instance level firewall access rule for a given service instance.- Parameters:
- updateAccountAccessRuleOptions- the- UpdateAccountAccessRuleOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeAccountAccessRuleResp
 
 
- 
 
-