_propDict)) { if (is_a($this->_propDict["accessibility"], "\Beta\Microsoft\Graph\Model\AwsAccessType") || is_null($this->_propDict["accessibility"])) { return $this->_propDict["accessibility"]; } else { $this->_propDict["accessibility"] = new AwsAccessType($this->_propDict["accessibility"]); return $this->_propDict["accessibility"]; } } return null; } /** * Sets the accessibility * * @param AwsAccessType $val The accessibility * * @return ExternallyAccessibleAwsStorageBucketFinding */ public function setAccessibility($val) { $this->_propDict["accessibility"] = $val; return $this; } /** * Gets the accountsWithAccess * * @return AccountsWithAccess|null The accountsWithAccess */ public function getAccountsWithAccess() { if (array_key_exists("accountsWithAccess", $this->_propDict)) { if (is_a($this->_propDict["accountsWithAccess"], "\Beta\Microsoft\Graph\Model\AccountsWithAccess") || is_null($this->_propDict["accountsWithAccess"])) { return $this->_propDict["accountsWithAccess"]; } else { $this->_propDict["accountsWithAccess"] = new AccountsWithAccess($this->_propDict["accountsWithAccess"]); return $this->_propDict["accountsWithAccess"]; } } return null; } /** * Sets the accountsWithAccess * * @param AccountsWithAccess $val The accountsWithAccess * * @return ExternallyAccessibleAwsStorageBucketFinding */ public function setAccountsWithAccess($val) { $this->_propDict["accountsWithAccess"] = $val; return $this; } /** * Gets the storageBucket * * @return AuthorizationSystemResource|null The storageBucket */ public function getStorageBucket() { if (array_key_exists("storageBucket", $this->_propDict)) { if (is_a($this->_propDict["storageBucket"], "\Beta\Microsoft\Graph\Model\AuthorizationSystemResource") || is_null($this->_propDict["storageBucket"])) { return $this->_propDict["storageBucket"]; } else { $this->_propDict["storageBucket"] = new AuthorizationSystemResource($this->_propDict["storageBucket"]); return $this->_propDict["storageBucket"]; } } return null; } /** * Sets the storageBucket * * @param AuthorizationSystemResource $val The storageBucket * * @return ExternallyAccessibleAwsStorageBucketFinding */ public function setStorageBucket($val) { $this->_propDict["storageBucket"] = $val; return $this; } }